You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix issue #22860466: viapi security bug - rubber stamping in nested VIs
Add new Activity.isVoiceInteractionRoot() API that an activity can use
to determine whether it is the root activity of a voice interaction
session started by the user's designated voice interaction service.
This is a special new API that apps must explicitly check, because as
with visual activities the model behind an activity should usually be
that it accomplishes its task by interacting with the user (implicitly
getting their approval) rather than trusting that whoever invoked it
is telling it to do what the user once. In the voice world, however,
there are some cases where quick interactions want to allow for immediate
execution without further user involvement, so this API allows for that
without opening up security holes from other applications.
Change-Id: Ie02d2458f16cb0b12af825641bcf8beaf086931b
Copy file name to clipboardExpand all lines: api/current.txt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3341,6 +3341,7 @@ package android.app {
3341
3341
method public boolean isImmersive();
3342
3342
method public boolean isTaskRoot();
3343
3343
method public boolean isVoiceInteraction();
3344
+
method public boolean isVoiceInteractionRoot();
3344
3345
method public final deprecated android.database.Cursor managedQuery(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String);
3345
3346
method public boolean moveTaskToBack(boolean);
3346
3347
method public boolean navigateUpTo(android.content.Intent);
Copy file name to clipboardExpand all lines: api/system-current.txt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3444,6 +3444,7 @@ package android.app {
3444
3444
method public boolean isImmersive();
3445
3445
method public boolean isTaskRoot();
3446
3446
method public boolean isVoiceInteraction();
3447
+
method public boolean isVoiceInteractionRoot();
3447
3448
method public final deprecated android.database.Cursor managedQuery(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String);
3448
3449
method public boolean moveTaskToBack(boolean);
3449
3450
method public boolean navigateUpTo(android.content.Intent);
0 commit comments