summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorDharmesh Mokani <mokani@google.com>2014-09-08 18:52:02 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-09-08 18:52:02 +0000
commit17975d0be2578cd1def91b3d7be2c58d79535d5e (patch)
tree0fba420be910597b30877aa9971de94fc41a8424 /core/java
parent907eae98881f69f8262be24a96c474fce5626be5 (diff)
parent2b02f887377ebededf199c5094268f6f4ce95b6e (diff)
downloadframeworks_base-17975d0be2578cd1def91b3d7be2c58d79535d5e.zip
frameworks_base-17975d0be2578cd1def91b3d7be2c58d79535d5e.tar.gz
frameworks_base-17975d0be2578cd1def91b3d7be2c58d79535d5e.tar.bz2
am e70ac872: Merge "Remove old methods : AlwaysOnHotwordDetector" into lmp-dev
* commit 'e70ac872c6655c6ab8c0e3ce48a7ed13df99494f': Remove old methods : AlwaysOnHotwordDetector
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/service/voice/AlwaysOnHotwordDetector.java39
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");