Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33d1dd63 authored by Adam Powell's avatar Adam Powell Committed by android-build-merger
Browse files

Merge "Have the Resolver/Chooser activities handle resize config changes" into...

Merge "Have the Resolver/Chooser activities handle resize config changes" into nyc-dev am: a75d4877 am: da00132d
am: c86ba558

* commit 'c86ba558':
  Have the Resolver/Chooser activities handle resize config changes

Change-Id: Icfa8381fa99cc8a2697ce2605d6e0194a372dfef
parents 88e87300 c86ba558
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3093,6 +3093,7 @@
                android:excludeFromRecents="true"
                android:documentLaunchMode="never"
                android:relinquishTaskIdentity="true"
                android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|keyboard|keyboardHidden"
                android:process=":ui">
            <intent-filter>
                <action android:name="android.intent.action.CHOOSER" />
+8 −1
Original line number Diff line number Diff line
@@ -7842,9 +7842,16 @@ public class PackageManagerService extends IPackageManager.Stub {
                        mResolveActivity.launchMode = ActivityInfo.LAUNCH_MULTIPLE;
                        mResolveActivity.documentLaunchMode = ActivityInfo.DOCUMENT_LAUNCH_NEVER;
                        mResolveActivity.flags = ActivityInfo.FLAG_EXCLUDE_FROM_RECENTS;
                        mResolveActivity.theme = R.style.Theme_Holo_Dialog_Alert;
                        mResolveActivity.theme = R.style.Theme_Material_Dialog_Alert;
                        mResolveActivity.exported = true;
                        mResolveActivity.enabled = true;
                        mResolveActivity.resizeMode = ActivityInfo.RESIZE_MODE_RESIZEABLE;
                        mResolveActivity.configChanges = ActivityInfo.CONFIG_SCREEN_SIZE
                                | ActivityInfo.CONFIG_SMALLEST_SCREEN_SIZE
                                | ActivityInfo.CONFIG_SCREEN_LAYOUT
                                | ActivityInfo.CONFIG_ORIENTATION
                                | ActivityInfo.CONFIG_KEYBOARD
                                | ActivityInfo.CONFIG_KEYBOARD_HIDDEN;
                        mResolveInfo.activityInfo = mResolveActivity;
                        mResolveInfo.priority = 0;
                        mResolveInfo.preferredOrder = 0;