diff options
author | Dharmesh Mokani <mokani@google.com> | 2014-09-08 18:43:13 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-09-08 18:43:14 +0000 |
commit | 2b02f887377ebededf199c5094268f6f4ce95b6e (patch) | |
tree | c324b2956562888c253b12b428f4047a179db67b /core/java | |
parent | 100d9471abcd9717046285afd9b84ca8171928eb (diff) | |
parent | 50c290406af81850a5d876754fd2bb4bd29df5d4 (diff) | |
download | frameworks_base-2b02f887377ebededf199c5094268f6f4ce95b6e.zip frameworks_base-2b02f887377ebededf199c5094268f6f4ce95b6e.tar.gz frameworks_base-2b02f887377ebededf199c5094268f6f4ce95b6e.tar.bz2 |
Merge "Remove old methods : AlwaysOnHotwordDetector" into lmp-dev
Diffstat (limited to 'core/java')
-rw-r--r-- | core/java/android/service/voice/AlwaysOnHotwordDetector.java | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/core/java/android/service/voice/AlwaysOnHotwordDetector.java b/core/java/android/service/voice/AlwaysOnHotwordDetector.java index 4de5f41..8aa2689 100644 --- a/core/java/android/service/voice/AlwaysOnHotwordDetector.java +++ b/core/java/android/service/voice/AlwaysOnHotwordDetector.java @@ -468,19 +468,6 @@ public class AlwaysOnHotwordDetector { } /** - * FIXME: Remove once the prebuilts are updated. - * - * @hide - */ - @Deprecated - public Intent createIntentToEnroll() { - if (DBG) Slog.d(TAG, "createIntentToEnroll"); - synchronized (mLock) { - return getManageIntentLocked(MANAGE_ACTION_ENROLL); - } - } - - /** * Creates an intent to start the un-enrollment for the associated keyphrase. * This intent must be invoked using {@link Activity#startActivityForResult(Intent, int)}. * Starting re-enrollment is only valid if the keyphrase is already enrolled, @@ -502,19 +489,6 @@ public class AlwaysOnHotwordDetector { } /** - * FIXME: Remove once the prebuilts are updated. - * - * @hide - */ - @Deprecated - public Intent createIntentToUnEnroll() { - if (DBG) Slog.d(TAG, "createIntentToUnEnroll"); - synchronized (mLock) { - return getManageIntentLocked(MANAGE_ACTION_UN_ENROLL); - } - } - - /** * Creates an intent to start the re-enrollment for the associated keyphrase. * This intent must be invoked using {@link Activity#startActivityForResult(Intent, int)}. * Starting re-enrollment is only valid if the keyphrase is already enrolled, @@ -535,19 +509,6 @@ public class AlwaysOnHotwordDetector { } } - /** - * FIXME: Remove once the prebuilts are updated. - * - * @hide - */ - @Deprecated - public Intent createIntentToReEnroll() { - if (DBG) Slog.d(TAG, "createIntentToReEnroll"); - synchronized (mLock) { - return getManageIntentLocked(MANAGE_ACTION_RE_ENROLL); - } - } - private Intent getManageIntentLocked(int action) { if (mAvailability == STATE_INVALID) { throw new IllegalStateException("getManageIntent called on an invalid detector"); |