From 48626140040c45f57a0386e9bb58320919356304 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Mon, 24 Jul 2017 15:46:40 +0100 Subject: [PATCH] Add dependencies on org.apache.http.legacy where needed Incorporates two main changes: * Stops statically including the org.apache.http.legacy library. That library is a stubs library so it makes no sense to statically include it. * Adds uses-library declaration for org.apache.http.legacy to those packages that depend on org.apache.http.legacy, either directly or transitively. The following change descriptions were generated automatically and so may be a little repetitive. They are provided to give the reviewer enough information to check the comments match what has actually been changed and check the reasoning behind the changes. * AndroidManifest.xml Added for org.apache.http.legacy to ensure classes are provided at runtime. It is not treated as optional as the application is not intended to be run on a version that does not provide the library, i.e. its minSdkVersion is >= M (23) Bug: 18027885 Test: m -j32 droid && adb reboot bootloader && fastboot flashall -w Change-Id: I556b54f57ee430b40c4d0870d8179b2cdda43b96 --- AndroidManifest.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index c88089ecde0..7f7ffbc9fb0 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -98,6 +98,7 @@ android:defaultToDeviceProtectedStorage="true" android:directBootAware="true"> +