summaryrefslogtreecommitdiffstats
path: root/core/java/android/app/Activity.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2015-01-14 15:15:34 -0800
committerDianne Hackborn <hackbod@google.com>2015-01-21 15:07:20 -0800
commit4e106cedfecd1f6026a79870c2e427853cba7491 (patch)
treea57b14230a1901e7b3f3e4a9ebed83274b8b5678 /core/java/android/app/Activity.java
parent4b94649ce3a57312e7a9bdbb256b5448b5bd8c32 (diff)
downloadframeworks_base-4e106cedfecd1f6026a79870c2e427853cba7491.zip
frameworks_base-4e106cedfecd1f6026a79870c2e427853cba7491.tar.gz
frameworks_base-4e106cedfecd1f6026a79870c2e427853cba7491.tar.bz2
Bring back voice interaction APIs.
Change-Id: I6039d7c0b188ac342441c56f7d19994b9a80ba17
Diffstat (limited to 'core/java/android/app/Activity.java')
-rw-r--r--core/java/android/app/Activity.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java
index 938a820..23b05c4 100644
--- a/core/java/android/app/Activity.java
+++ b/core/java/android/app/Activity.java
@@ -1242,22 +1242,18 @@ public class Activity extends ContextThemeWrapper
}
/**
- * @hide
* Check whether this activity is running as part of a voice interaction with the user.
* If true, it should perform its interaction with the user through the
* {@link VoiceInteractor} returned by {@link #getVoiceInteractor}.
*/
- @SystemApi
public boolean isVoiceInteraction() {
return mVoiceInteractor != null;
}
/**
- * @hide
* Retrieve the active {@link VoiceInteractor} that the user is going through to
* interact with this activity.
*/
- @SystemApi
public VoiceInteractor getVoiceInteractor() {
return mVoiceInteractor;
}