Fix default of extractNativeLibs in parseBaseApplication
This is a missed change in 4e54b521bc.
Test: adb install, check that libs are really not extracted.
Bug: 112037137
Change-Id: I0b819d656eb427c4b7b35e027808b87f3aad3c15
This commit is contained in:
@@ -3760,9 +3760,11 @@ public class PackageParser {
|
||||
ai.flags |= ApplicationInfo.FLAG_MULTIARCH;
|
||||
}
|
||||
|
||||
final boolean extractNativeLibsDefault =
|
||||
owner.applicationInfo.targetSdkVersion < Build.VERSION_CODES.Q;
|
||||
if (sa.getBoolean(
|
||||
com.android.internal.R.styleable.AndroidManifestApplication_extractNativeLibs,
|
||||
true)) {
|
||||
extractNativeLibsDefault)) {
|
||||
ai.flags |= ApplicationInfo.FLAG_EXTRACT_NATIVE_LIBS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user