diff options
author | Tony Mak <tonymak@google.com> | 2017-11-29 21:00:30 +0000 |
---|---|---|
committer | Tony Mak <tonymak@google.com> | 2017-12-01 18:44:10 +0000 |
commit | 8246513dfc5556a76e7db8732d2213919cd27748 (patch) | |
tree | 340be18b9f2e0901cfbc2d264cb1374d0a5b93e8 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 1a0e948f61e901cd22650f0ef7424e911b8af109 (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.cpp')
0 files changed, 0 insertions, 0 deletions