summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2016-02-15 15:33:31 -0700
committerJeff Sharkey <jsharkey@android.com>2016-02-15 15:33:34 -0700
commitc6ca265902d41a0553d15f660647410db6a3e889 (patch)
tree2e077aee5e22d97843e4405eb243926d503e921f /tools/aapt2/java/JavaClassGenerator.cpp
parentae8f843a4a3d0fbe114d74775b5dfbc5b04d9d3c (diff)
Filter components, prevent app start in safe mode.
When device is in safe mode, we're trying to keep third-party code from running to give us a stable platform. The ideal approach would be to treat these apps as temporarily "uninstalled" when in safe mode, but not all system internals are ready for this. Instead, go back to previous behavior where we simply filtered non-system components. This isn't perfect, since there are still cracks through which components can leak out (GET_ACTIVITIES, etc). So as a last-ditch sanity effort, refuse to fork any third-party apps while running in safe mode. Bug: 27165374 Change-Id: I044ede02e923c499159faf59b12e79b97fe77fba
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions