OSDN Git Service

Make the voiceDialer work again
authorMartin Hibdon <mah@android.com>
Wed, 24 Mar 2010 23:52:07 +0000 (16:52 -0700)
committerMartin Hibdon <mah@android.com>
Wed, 24 Mar 2010 23:52:07 +0000 (16:52 -0700)
Bug: 2537307
The recognizer has a limit on the size of each semantic value
in the grammar.  Now that we are storing both the package name
and class name there, it's pretty easy to overflow the limit.
This change doubles the size of the buffer, making this
overflow less likely.

Change-Id: Ibef3b834cf867e3e4ad7678289460e451e704f2f

srec/Semproc/include/SR_SemprocDefinitions.h

index 48f28f9..133448d 100644 (file)
@@ -49,7 +49,7 @@
 /**
  * Maximum size of strings
  */
-#define MAX_STRING_LEN        350
+#define MAX_STRING_LEN        700
 
 /**
  * Maximum length of accumulated scripts