summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2020-06-23 23:19:57 -0600
committerJeff Sharkey <jsharkey@android.com>2020-06-24 14:52:45 -0600
commitacc7080d7eceea8343a079ccade1a917aeaf2fc6 (patch)
tree1644f83f841029075a243c7ed47258d4f790099f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent86ba608e34b881e2af42602cf4211de967d29df5 (diff)
Add checker to support createUserContext().
To avoid an explosion of startActivityForUser style methods, we've converged on recommending the use of Context.createContextAsUser(), and then ensuring that all system services pass Context.getUserId() for any int userId arguments across Binder interfaces. This design allows developers to easily redirect all services obtained from a specific Context to a different user with no additional API surface. Bug: 115654727, 159626156 Test: atest error_prone_android_framework_test Change-Id: I2d665016e8356807c371a1e18a4e102dea5b5d8e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions