diff options
author | Dianne Hackborn <hackbod@google.com> | 2015-08-03 17:14:46 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2015-08-03 17:33:38 -0700 |
commit | fb81d09d359480f9e43bbf300877b60de05f4816 (patch) | |
tree | 35d575855e4c528833f78ed3d0ddaff2660bea3e /api/removed.txt | |
parent | 0ca1e98fdf300ddbbccbfce26bba5947109597f1 (diff) | |
download | frameworks_base-fb81d09d359480f9e43bbf300877b60de05f4816.zip frameworks_base-fb81d09d359480f9e43bbf300877b60de05f4816.tar.gz frameworks_base-fb81d09d359480f9e43bbf300877b60de05f4816.tar.bz2 |
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
Diffstat (limited to 'api/removed.txt')
0 files changed, 0 insertions, 0 deletions