diff options
| author | Wale Ogunwale <ogunwale@google.com> | 2015-03-20 11:32:20 -0700 |
|---|---|---|
| committer | Wale Ogunwale <ogunwale@google.com> | 2015-03-20 11:32:20 -0700 |
| commit | abfcc22ddf3010ca06b979d3bd0f03ebcf854631 (patch) | |
| tree | 57f0b7f39b4886af21aeaf137f0e9ca33348643b /core/java/android | |
| parent | ed7cfb67e7e697e544ac1220170af741e9e117d6 (diff) | |
| download | frameworks_base-abfcc22ddf3010ca06b979d3bd0f03ebcf854631.zip frameworks_base-abfcc22ddf3010ca06b979d3bd0f03ebcf854631.tar.gz frameworks_base-abfcc22ddf3010ca06b979d3bd0f03ebcf854631.tar.bz2 | |
Default ActivityInfo.resizeable to false for all SDK versions.
Bug: 19347452
Bug: 19865400
Change-Id: I2afbcdb9c876c756b14068efc750093057f0b865
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/content/pm/PackageParser.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/java/android/content/pm/PackageParser.java b/core/java/android/content/pm/PackageParser.java index a245ba5..05ab4fd 100644 --- a/core/java/android/content/pm/PackageParser.java +++ b/core/java/android/content/pm/PackageParser.java @@ -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; |
