diff options
author | Dianne Hackborn <hackbod@google.com> | 2015-07-15 14:20:51 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2015-07-15 14:20:51 -0700 |
commit | 1de1186d28f0ca7c0b6298edfa8ae497e651ba87 (patch) | |
tree | a2fb5d493d38c1e5879a6e37e3e9d2773d8823aa /api/current.txt | |
parent | 1d4247c4cc89c6d62e44ed3115f26579979b44b5 (diff) | |
download | frameworks_base-1de1186d28f0ca7c0b6298edfa8ae497e651ba87.zip frameworks_base-1de1186d28f0ca7c0b6298edfa8ae497e651ba87.tar.gz frameworks_base-1de1186d28f0ca7c0b6298edfa8ae497e651ba87.tar.bz2 |
Implement issue #22403908: Enable assistant to refuse context sharing
New APIs allow the voice interaction service to set/retrieve a filter
for which of the show flags are allowed.
Change-Id: I588cbe55afee0548ad3afa22d3a7d3bc43cb54a6
Diffstat (limited to 'api/current.txt')
-rw-r--r-- | api/current.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index df9ea35..ea33eaf 100644 --- a/api/current.txt +++ b/api/current.txt @@ -28785,11 +28785,13 @@ package android.service.voice { public class VoiceInteractionService extends android.app.Service { ctor public VoiceInteractionService(); method public final android.service.voice.AlwaysOnHotwordDetector createAlwaysOnHotwordDetector(java.lang.String, java.util.Locale, android.service.voice.AlwaysOnHotwordDetector.Callback); + method public int getDisabledShowContext(); method public static boolean isActiveService(android.content.Context, android.content.ComponentName); method public android.os.IBinder onBind(android.content.Intent); method public void onLaunchVoiceAssistFromKeyguard(); method public void onReady(); method public void onShutdown(); + method public void setDisabledShowContext(int); method public void showSession(android.os.Bundle, int); field public static final java.lang.String SERVICE_INTERFACE = "android.service.voice.VoiceInteractionService"; field public static final java.lang.String SERVICE_META_DATA = "android.voice_interaction"; @@ -28801,6 +28803,7 @@ package android.service.voice { method public void closeSystemDialogs(); method public void finish(); method public android.content.Context getContext(); + method public int getDisabledShowContext(); method public android.view.LayoutInflater getLayoutInflater(); method public android.app.Dialog getWindow(); method public void hide(); @@ -28832,6 +28835,7 @@ package android.service.voice { method public void onTaskStarted(android.content.Intent, int); method public void onTrimMemory(int); method public void setContentView(android.view.View); + method public void setDisabledShowContext(int); method public void setKeepAwake(boolean); method public void setTheme(int); method public void show(android.os.Bundle, int); |