summaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
author Shubhi <shubhisaxena@google.com> 2023-02-01 10:39:33 +0000
committer Shubhi <shubhisaxena@google.com> 2023-02-13 16:57:10 +0000
commit75e46456dbfdd8afaf4863f65da9966ebd5e571d (patch)
tree9dd3bbbccde21cc0a23e78961fedf6318dbd81ea /AndroidManifest.xml
parent96a63352c35c0fbb8c91a5e12f8ea4341c05cdc5 (diff)
Change PhotoPickerSettingsActivity's launch mode
Update PhotoPickerSettingsActivity's launch mode to single instance so that users don't see multiple instances of the Settings page. This would also avoid the problem of keeping the data in multiple instances of the Settings page in sync. This change also includes the Settings activity in recents. Since the launch mode has changed to singleInstance, Settings activity will be a part of a new task and the new task will only show up in recents with this config change. Bug: 267429483 Test: Manually tested Change-Id: I51970647900170b1c327ded4b1d53e63164725a2
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 4f19688ae..3c1a6a246 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -194,8 +194,9 @@
<activity
android:name="com.android.providers.media.photopicker.PhotoPickerSettingsActivity"
android:theme="@style/PickerSettingsDefaultTheme"
+ android:launchMode="singleInstance"
android:process=":PhotoPicker"
- android:excludeFromRecents="true"
+ android:excludeFromRecents="false"
android:exported="true"
android:enabled="false" >