diff options
author | Yo Chiang <yochiang@google.com> | 2020-02-21 11:53:15 +0800 |
---|---|---|
committer | Yo Chiang <yochiang@google.com> | 2020-02-21 04:17:51 +0000 |
commit | f8d67892332a535338cfd415340a83b31b373ee5 (patch) | |
tree | 0ab384c9c48f05928e9746106df4186c7c6d90a0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a975b9a901f69843758d403aa804d2c014b3067c (diff) |
Fix VerificationActivity Intent
VerificationActivity crashes when the Intent sent to it doesn't have an
extras Bundle. This is because VerificationActivity copies the incoming
Intents extras Bundle with getExtras() / putExtras(Bundle), and
putExtras(Bundle) doesn't expect a null Bundle.
Bug: 145891687
Test: adb shell am start-activity \
-n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
-a android.os.image.action.START_INSTALL \
-d file:///storage/emulated/0/Download/aosp_arm64-dsu_test.zip
Test: Dynamic system service mustn't crash
Change-Id: I111641f366d50d739b922bcc3a52993c44212759
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions