diff options
author | Dianne Hackborn <hackbod@google.com> | 2011-06-14 21:05:03 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2011-06-14 21:05:03 -0700 |
commit | a9551706a279a798c91d8ef593b2acb16a30c682 (patch) | |
tree | cc373175230194eeea5dd7b7dfe99b336b839e06 /services | |
parent | f930232fd1c8d301d91853c8fe5dca43979ac807 (diff) | |
download | frameworks_base-a9551706a279a798c91d8ef593b2acb16a30c682.zip frameworks_base-a9551706a279a798c91d8ef593b2acb16a30c682.tar.gz frameworks_base-a9551706a279a798c91d8ef593b2acb16a30c682.tar.bz2 |
Testing done, compatibility mode no longer on by default.
Change-Id: I5bcc98d2b3a1a02ca788ab61440f0aa5d4f7fb4e
Diffstat (limited to 'services')
-rw-r--r-- | services/java/com/android/server/am/CompatModePackages.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/services/java/com/android/server/am/CompatModePackages.java b/services/java/com/android/server/am/CompatModePackages.java index 1334bcd..f656486 100644 --- a/services/java/com/android/server/am/CompatModePackages.java +++ b/services/java/com/android/server/am/CompatModePackages.java @@ -131,13 +131,7 @@ public class CompatModePackages { final boolean mayCompat = !ci.alwaysSupportsScreen() && !ci.neverSupportsScreen(); - if (!updated) { - // First time -- if the app may run in compat mode, enable that - // by default. - if (mayCompat) { - setPackageScreenCompatModeLocked(ai, ActivityManager.COMPAT_MODE_ENABLED); - } - } else { + if (updated) { // Update -- if the app no longer can run in compat mode, clear // any current settings for it. if (!mayCompat && mPackages.containsKey(packageName)) { |