diff options
author | Sandeep Siddhartha <sansid@google.com> | 2014-08-22 18:50:57 -0700 |
---|---|---|
committer | Sandeep Siddhartha <sansid@google.com> | 2014-08-25 10:34:07 -0700 |
commit | 07b4a6f42d75909785f4362181619983e21894eb (patch) | |
tree | 7776a63addda47e0213c7d98cd9431fe290eb5f7 | |
parent | 1a95b1a6f3d1c2ed237fd678e1d8c88c2aae97df (diff) | |
download | frameworks_base-07b4a6f42d75909785f4362181619983e21894eb.zip frameworks_base-07b4a6f42d75909785f4362181619983e21894eb.tar.gz frameworks_base-07b4a6f42d75909785f4362181619983e21894eb.tar.bz2 |
Remove the old API for creating hotword detector
To be submitted only when the prebuilts have been updated
Change-Id: I7136b6a492610e4673f005b2d1682ce90ddb43a5
-rw-r--r-- | core/java/android/service/voice/VoiceInteractionService.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/core/java/android/service/voice/VoiceInteractionService.java b/core/java/android/service/voice/VoiceInteractionService.java index 91b1cc4..65e6988 100644 --- a/core/java/android/service/voice/VoiceInteractionService.java +++ b/core/java/android/service/voice/VoiceInteractionService.java @@ -201,17 +201,6 @@ public class VoiceInteractionService extends Service { } /** - * FIXME: Remove once the prebuilts are updated. - * - * @hide - */ - @Deprecated - public final AlwaysOnHotwordDetector createAlwaysOnHotwordDetector( - String keyphrase, String locale, AlwaysOnHotwordDetector.Callback callback) { - return createAlwaysOnHotwordDetector(keyphrase, Locale.forLanguageTag(locale), callback); - } - - /** * Creates an {@link AlwaysOnHotwordDetector} for the given keyphrase and locale. * This instance must be retained and used by the client. * Calling this a second time invalidates the previously created hotword detector |