Loading core/java/android/content/pm/PackageParser.java +8 −0 Original line number Diff line number Diff line Loading @@ -2760,9 +2760,17 @@ public class PackageParser { } } addSharedLibrariesForBackwardCompatibility(owner); return true; } private static void addSharedLibrariesForBackwardCompatibility(Package owner) { if (owner.applicationInfo.targetSdkVersion <= Build.VERSION_CODES.LOLLIPOP_MR1) { owner.usesLibraries = ArrayUtils.add(owner.usesLibraries, "org.apache.http.legacy"); } } /** * Parse the {@code application} XML tree at the current parse location in a * <em>split APK</em> manifest. Loading Loading
core/java/android/content/pm/PackageParser.java +8 −0 Original line number Diff line number Diff line Loading @@ -2760,9 +2760,17 @@ public class PackageParser { } } addSharedLibrariesForBackwardCompatibility(owner); return true; } private static void addSharedLibrariesForBackwardCompatibility(Package owner) { if (owner.applicationInfo.targetSdkVersion <= Build.VERSION_CODES.LOLLIPOP_MR1) { owner.usesLibraries = ArrayUtils.add(owner.usesLibraries, "org.apache.http.legacy"); } } /** * Parse the {@code application} XML tree at the current parse location in a * <em>split APK</em> manifest. Loading