summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMatthew Fritze <mfritze@google.com>2021-03-11 08:43:17 -0800
committerMatthew Fritze <mfritze@google.com>2021-03-11 11:36:57 -0800
commitcc0f89b68b9bcb98c0d76ca22a9d9330129d6eb2 (patch)
treeac34742d6517cf86e184aac6dcfb82cef562fee8 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent943a2392a8c9ecc5510265d4d2cf8494b3f903c5 (diff)
Handle multiple Activities matching eSOS intent
We should be able to handle multiple emergengy sos activities on the device without showing a disambig dialog. This CL adds a config string to set the package name of the preferred app to handle the emergengy sos intent (not using RoleManager#ROLE_EMERGENCY since SysUI doesn't have the necessary permission). The preference is given to the activity as follows: 1. Activity is from a system app with package name matching new config string 2. Activity is from a system app 3. Gesture becomes a no-op (will not match non-system activities) Test: manual {StatusBar makes testing a launched activity challenging} Bug: 181610572 Change-Id: I862b4e3edf990d5f011aa0dc073070ede8b474b1
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions