summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTodd Kennedy <toddke@google.com>2017-08-21 07:06:27 -0700
committerTodd Kennedy <toddke@google.com>2017-08-21 07:06:27 -0700
commit87505bb58a49768703fde504b7eb4a40429d7721 (patch)
tree4b9449bf7d1513d0b3003fd9f849dea165c7039f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent003bd7e3ec71284b46a706c2ac9e298b3ffea732 (diff)
Use the installer package name for broadcasts
We would send the broadcast to the installer of record for the _removed_ package [ie. replaced]. There was no value containing the installer of record for the _installed_ package. Now prefer to send the broadcast to the installer of record for the install. Otherwise, use the installer of record for removal. Change-Id: Idb1a7fa522a19273eb3641746e1966aa7af97e7c Fixes: 62905206 Test: Manual. 'adb install test.apk' doesn't fire broadcast to the installer. Test: Manual. 'adb install -i com.foo test.apk' fires broadcast to "com.foo". Test: Manual. 'adb install -r test.apk' fires broadcast to "com.foo" installer. Test: Manual. 'adb install -r -i com.foo2 test.apk' fires broadcast to "com.foo2".
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions