diff options
| author | 2020-02-07 07:59:39 +0000 | |
|---|---|---|
| committer | 2020-02-07 07:59:39 +0000 | |
| commit | fd2ba540df417280e9e60f8fbde328aa50b86ad0 (patch) | |
| tree | e0a6d9890266d4e86888df5ba9a96073cc8846d9 /packages/Shell/AndroidManifest.xml | |
| parent | c8b7cff7f4ed04223756f16b85bd42b46609f1bf (diff) | |
| parent | 6b1c4a9e09ea096d06351358d731290a11a1e337 (diff) | |
Merge "Add a null home activity to Shell.apk"
Diffstat (limited to 'packages/Shell/AndroidManifest.xml')
| -rw-r--r-- | packages/Shell/AndroidManifest.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index b997f85bebd3..0ffbe80d4ab3 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -282,6 +282,22 @@ android:excludeFromRecents="true" android:exported="false" /> + <!-- + The following is used as a no-op/null home activity when + no other MAIN/HOME activity is present (e.g., in CSI). + --> + <activity android:name=".NullHome" + android:excludeFromRecents="true" + android:label="" + android:screenOrientation="nosensor"> + <!-- The priority here is set to be lower than that for Settings --> + <intent-filter android:priority="-1100"> + <action android:name="android.intent.action.MAIN" /> + <category android:name="android.intent.category.HOME" /> + <category android:name="android.intent.category.DEFAULT" /> + </intent-filter> + </activity> + <receiver android:name=".BugreportReceiver" android:permission="android.permission.DUMP"> |