Revert the usage of sCompatibilityModeEnabled
Change the usage of global compatibility mode enabled state back to PackageParser first until the tests are ready to ensure the behavior is consistent. Bug: 186592266 Test: atest CtsCompatibilityModeTestCases Change-Id: Ib57886c095a7b2f6e797ccdaa2890f3ad60f5482
This commit is contained in:
@@ -397,7 +397,7 @@ public class PackageInfoWithoutStateUtils {
|
||||
}
|
||||
|
||||
// CompatibilityMode is global state.
|
||||
if (!ParsingPackageUtils.sCompatibilityModeEnabled) {
|
||||
if (!android.content.pm.PackageParser.sCompatibilityModeEnabled) {
|
||||
ai.disableCompatibilityMode();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user