summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTony Mak <tonymak@google.com>2017-11-29 21:00:30 +0000
committerTony Mak <tonymak@google.com>2017-12-01 18:44:10 +0000
commit8246513dfc5556a76e7db8732d2213919cd27748 (patch)
tree340be18b9f2e0901cfbc2d264cb1374d0a5b93e8 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent1a0e948f61e901cd22650f0ef7424e911b8af109 (diff)
Introduce getProfileSwitchingIcon/Label In CrossProfileApps
Leave the resource retrieval part in client side to avoid passing drawable across process boundary which should be bad for performance. The verification part is done in client side, so in theory, apps can work around the verification. That said, the strings and drawables are not secret anyway, they are just a generic icon / label to represent the user. Also, they can always retrieve them by using getDrawable anyway. BUG: 67765768 Test: bit FrameworksCoreTests:android.content.pm.crossprofile.CrossProfileAppsTest Change-Id: I44a7ba17ecc81d0d366184b2d411caa7a82de3ef
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions