diff options
author | 2023-08-16 17:18:52 +0000 | |
---|---|---|
committer | 2023-08-16 17:18:52 +0000 | |
commit | b6d25adb563fe1c00d2d7874a87b46a6a1b0c95e (patch) | |
tree | d1621d1d3afe67e2458bfa0b2c2657c1b0e966f7 /AndroidManifest-app.xml | |
parent | e3360fa4f978bdea5a974189b72949a79c148d22 (diff) | |
parent | cf0a09f6c54ee6060469bcd85acbefd382eba439 (diff) |
Merge "Creates ChooserActivity alias" into udc-qpr-dev
Diffstat (limited to 'AndroidManifest-app.xml')
-rw-r--r-- | AndroidManifest-app.xml | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/AndroidManifest-app.xml b/AndroidManifest-app.xml index fdfe34e1..ba9afe28 100644 --- a/AndroidManifest-app.xml +++ b/AndroidManifest-app.xml @@ -34,15 +34,12 @@ tools:replace="android:appComponentFactory" android:appComponentFactory=".dagger.InjectedAppComponentFactory"> - <activity android:name=".ChooserActivity" - android:theme="@style/Theme.DeviceDefault.Chooser" - android:finishOnCloseSystemDialogs="true" - android:excludeFromRecents="true" - android:documentLaunchMode="never" - android:relinquishTaskIdentity="true" - android:configChanges="screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden" - android:visibleToInstantApps="true" - android:exported="true"> + <!-- This alias needs to be maintained until there are no more devices that could be + upgrading from T QPR3. (b/283722356) --> + <activity-alias + android:name=".ChooserActivityLauncher" + android:targetActivity=".ChooserActivity" + android:exported="true"> <!-- This intent filter is assigned a priority greater than 100 so that it will take precedence over the framework ChooserActivity @@ -53,14 +50,17 @@ <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.VOICE" /> </intent-filter> - </activity> + </activity-alias> - <receiver android:name=".ChooserActivityReEnabler" - android:exported="true"> - <intent-filter> - <action android:name="android.intent.action.BOOT_COMPLETED" /> - </intent-filter> - </receiver> + <activity android:name=".ChooserActivity" + android:theme="@style/Theme.DeviceDefault.Chooser" + android:finishOnCloseSystemDialogs="true" + android:excludeFromRecents="true" + android:documentLaunchMode="never" + android:relinquishTaskIdentity="true" + android:configChanges="screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden" + android:visibleToInstantApps="true" + android:exported="false"/> </application> |