* commit 'abe5bd23c341da035e9905d9e50c1d6bccf229dc': Testing done, compatibility mode no longer on by default.
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user