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

Commit abfcc22d authored by Wale Ogunwale's avatar Wale Ogunwale
Browse files

Default ActivityInfo.resizeable to false for all SDK versions.

Bug: 19347452
Bug: 19865400
Change-Id: I2afbcdb9c876c756b14068efc750093057f0b865
parent ed7cfb67
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3110,8 +3110,7 @@ public class PackageParser {
            }

            a.info.resizeable = sa.getBoolean(
                    R.styleable.AndroidManifestActivity_resizeableActivity,
                    owner.applicationInfo.targetSdkVersion >= Build.VERSION_CODES.MNC);
                    R.styleable.AndroidManifestActivity_resizeableActivity, false);
            if (a.info.resizeable) {
                // Fixed screen orientation isn't supported with resizeable activities.
                a.info.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;