diff options
author | Paul Duffin <paulduffin@google.com> | 2017-07-24 15:46:40 +0100 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2017-07-24 15:46:40 +0100 |
commit | 1f49e4e3d5946a6c0e8e385474d7e56e6173c3c2 (patch) | |
tree | ff3e6f22fa004859c4da60147020c9f9b0774419 /packages/StatementService | |
parent | d1de178e75bb2396303cf601ed6ec265f8e25522 (diff) |
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.
* packages/StatementService/AndroidManifest.xml
Added <uses-library> 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: I96e467a1916bd6c3f4b33164fae940f322fef80c
Diffstat (limited to 'packages/StatementService')
-rw-r--r-- | packages/StatementService/AndroidManifest.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/StatementService/AndroidManifest.xml b/packages/StatementService/AndroidManifest.xml index 3ee453bc9cbc..d79d90087ed5 100644 --- a/packages/StatementService/AndroidManifest.xml +++ b/packages/StatementService/AndroidManifest.xml @@ -26,6 +26,7 @@ <application android:label="@string/service_name" android:allowBackup="false"> + <uses-library android:name="org.apache.http.legacy" /> <service android:name=".DirectStatementService" android:exported="false"> |