From 6b1c4a9e09ea096d06351358d731290a11a1e337 Mon Sep 17 00:00:00 2001 From: Isaac Chen Date: Tue, 21 Jan 2020 17:00:34 +0800 Subject: 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 --- packages/Shell/AndroidManifest.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'packages/Shell/AndroidManifest.xml') diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index af2569dcb1f2..618f52eb21e6 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -265,6 +265,22 @@ android:excludeFromRecents="true" android:exported="false" /> + + + + + + + + + + -- cgit v1.2.3-59-g8ed1b