Bug: 6294985 With ALL_PREBUILT it just installs the data files to all devices. We switch to a config.mk, which will be included by module definition of VoiceDialer.apk and set up the necessary dependency. TODO: modulize the config files and have VoiceDialer.apk depend on them. Change-Id: I25ecb9888960806acda808ef8f5e88fe9bcb48bb
Bug: 6299628 Change-Id: I8e4352b7db6499264106ba0e52e5c3e755a488b9 Signed-off-by: Wei Zhong <firstname.lastname@example.org> (cherry picked from commit cc15631660de061ec4f65e8714c0836520b35ddf)
See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I3719a243181c92dc8cc3fc5d3aa3da4c14e990df
The SR_RecognizerResultGetKeyList should return [Ljava/lang/String, however the code as written before the change will actually return [[Ljava/lang/String This "worked" before, probably by accident, but since dvmFindArrayClassForElement has been rewritten to no longer used a cached arrayClass. The dvmFindArrayClassForElement actually prepends the [ and it should not be in SR_RecognizerResultGetKeyList. Change-Id: Ida74600f224d8a7f9906c51b1881dcb9451cc289
Change Ibef3b834 increased the size of buffers to address Bug: 2537307. This was not an ideal solution, because it consumes more memory and is still vulnerable to failure if package names or class names get larger. Change I127c860b fixes the problem in a different way, so we can now shrink the buffer size back to the original value. Change-Id: I67db90017bb84b2c4a4ff962e5a524a9a32b67e8
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
Both of these grammars now support the commands "exit" and "cancel", which will result in the voice dialer exiting.
Bug#232200 This grammar accepts the four phone types supported by the VoiceDialer: "home", "mobile", "work", and "other", along with "retry" and "exit". It is used when the voicedialer has determined which person to call, but is not yet sure which phone to call them on. Also get rid of some of the uneeded code from the boolean grammar. It was allowing for changes to be made at runtime, but that is not needed.
…port the new flow for the bluetooth voice dialer."
new flow for the bluetooth voice dialer.
Merge commit 'b888ee1007939e6bcc6e9693edea404219b17e18' * commit 'b888ee1007939e6bcc6e9693edea404219b17e18': eclair snapshot Fix bug 2243155 Set VoiceDialer to use the VOICE_RECOGNITION audio source.