diff options
author | Beverly <beverlyt@google.com> | 2019-10-30 16:34:16 -0400 |
---|---|---|
committer | Beverly Tai <beverlyt@google.com> | 2019-10-30 20:39:16 +0000 |
commit | 8cf4996fdf20326f406daeda642fe27ed49ca79b (patch) | |
tree | 3b92327f15d85e9fa589c1238bd2fee7611a159f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | aa88bb6bacbf93545ad9f1a75da161e6930ab30a (diff) |
Set a good example - don't export ExamplePlugin
Plugins should never be exported because this would allow other
packages installed on the device to attempt to launch it via
Context#startService which can crash SystemUI.
By default, if a service has an intent-filter, exported is set to true.
Therefore, we must explicitly set exported=false.
Test: n/a
Bug: 142012333
Change-Id: Iaf4191ee3006cc07eb0309f068854c103683e99d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions