summaryrefslogtreecommitdiffstats
path: root/core/java/android
diff options
context:
space:
mode:
authorWale Ogunwale <ogunwale@google.com>2015-03-23 21:59:58 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-03-23 22:00:01 +0000
commite7666f9e45461111a5ff2da67ad8ecc9ab740d1f (patch)
tree10d68df00b73831781939a2811af4c50e95393f0 /core/java/android
parent835d7986061bbec2cd3433058f67d2efffe1bdee (diff)
parentabfcc22ddf3010ca06b979d3bd0f03ebcf854631 (diff)
downloadframeworks_base-e7666f9e45461111a5ff2da67ad8ecc9ab740d1f.zip
frameworks_base-e7666f9e45461111a5ff2da67ad8ecc9ab740d1f.tar.gz
frameworks_base-e7666f9e45461111a5ff2da67ad8ecc9ab740d1f.tar.bz2
Merge "Default ActivityInfo.resizeable to false for all SDK versions."
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/content/pm/PackageParser.java3
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 c443ff3..eaad9ac 100644
--- a/core/java/android/content/pm/PackageParser.java
+++ b/core/java/android/content/pm/PackageParser.java
@@ -3116,8 +3116,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;