summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAhaan Ugale <augale@google.com>2021-08-05 19:04:25 -0700
committerAhaan Ugale <augale@google.com>2021-08-06 02:19:30 +0000
commit3873a09959b3596c1dac768a68a88163eb6df771 (patch)
treebb3f6e7d93d9b8707606b58f94639953cdef6a64 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent389475e436f62dc79c0f34315e2ca851c2e17836 (diff)
Make Trusted Hotword session permissions follow previous behavior
A prior change to the permissions flow for Trusted Hotword (I80dabaf6ae0e781028dde16ead3321fbff319542) made the system enforce the required permissions on the APIs the conventional way - by throwing a SecurityException. But the existing behavior was to silence these exceptions and instead return error results. This change brings back the old behavior which exists in the SoundTrigger layer. Also removes permissions checks for a couple of APIs to again be consistent with the old behavior (and the current behavior in the SoundTrigger layer). Fix: 193116894 Test: manual - remove permission and reboot / remove permission after boot, stop/start reco Test: atest HotwordDetectionServiceBasicTest Change-Id: I56391260fd4375a04233eb3261bacec8696bda99
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions