diff options
author | Isaac Chen <ycchen@google.com> | 2020-01-21 17:00:34 +0800 |
---|---|---|
committer | Isaac Chen <ycchen@google.com> | 2020-02-07 12:50:39 +0800 |
commit | 6b1c4a9e09ea096d06351358d731290a11a1e337 (patch) | |
tree | b03e9c2df18c8023eca864f3f1e1bdadfecf0c18 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 40cae1c0c99b3685f97eaf6ba5b4fb04fe58e737 (diff) |
Add a null home activity to Shell.apk
In configurations where AOSP Settings.apk is not included, there might
not be any home activity. E.g. CSI doesn't have Settings.apk.
This CL adds a null home activity to Shell.apk, which is in CSI,
so the framework can be in a sane state. Without such null home
activity in CSI, package manager fails to install any APKs.
Bug: 148044842
Test: $ lunch csi_arm64-userdebug; m -j
# Flash CSI to a Pixel (with AVB disabled) and reboot
$ m DeviceHealthChecks
$ adb install $OUT/testcases/DeviceHealthTests/arm64/DeviceHealthTests.apk
Performing Streamed Install
Success
Change-Id: I87999e30298bbe42af64f28e88fc6dc5975f1ca3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions