From 91097de49b0f683b00e26a75dbc0ac6082344137 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Fri, 4 Apr 2014 18:02:06 -0700 Subject: Initial implementation of new voice interaction API. This gives a basic working implementation of a persist running service that can start a voice interaction when it wants, with the target activity(s) able to go through the protocol to interact with it. It may even work when the screen is off by putting the activity manager in the correct state to act like the screen is on. Includes a sample app that is a voice interation service and also has an activity it can launch. Now that I have this initial implementation, I think I want to rework some aspects of the API. Change-Id: I7646d0af8fb4ac768c63a18fe3de43f8091f60e9 --- core/res/AndroidManifest.xml | 7 +++++++ core/res/res/values/attrs.xml | 10 +++++++++- core/res/res/values/strings.xml | 6 ++++++ 3 files changed, 22 insertions(+), 1 deletion(-) (limited to 'core/res') diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 57e845f..8dfce64 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -2056,6 +2056,13 @@ android:description="@string/permdesc_bindWallpaper" android:protectionLevel="signature|system" /> + + + diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml index 508a557..326485d 100644 --- a/core/res/res/values/attrs.xml +++ b/core/res/res/values/attrs.xml @@ -6267,13 +6267,21 @@ + + + + + diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml index 6d4ceef..9b89eaa 100644 --- a/core/res/res/values/strings.xml +++ b/core/res/res/values/strings.xml @@ -1068,6 +1068,12 @@ interface of a wallpaper. Should never be needed for normal apps. + bind to a voice interactor + + Allows the holder to bind to the top-level + interface of a voice interaction service. Should never be needed for normal apps. + + bind to a remote display Allows the holder to bind to the top-level -- cgit v1.1