Remove org.apache.http.legacy from Settings
It appears that all usages of org.apache.http were removed after aosp/118987.
Keeping this library in the phone settings manifest and build files adds an
unnecessary dependency for both phone settings
Bug: 176242377
Test: rebuild
Change-Id: I58eb077c2518c58b82e931596dfaefb151213c25
diff --git a/Android.bp b/Android.bp
index 5470e70..c84dc1e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -82,7 +82,6 @@
"settings-platform-compat-config",
],
static_libs: ["Settings-core"],
- uses_libs: ["org.apache.http.legacy"],
resource_dirs: [],
optimize: {
proguard_flags_files: ["proguard.flags"],
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index c77680d..2e7453d 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -118,7 +118,6 @@
android:directBootAware="true"
android:appComponentFactory="androidx.core.app.CoreComponentFactory">
- <uses-library android:name="org.apache.http.legacy" />
<!-- Settings -->
<activity android:name=".homepage.SettingsHomepageActivity"
diff --git a/tests/robotests/Android.bp b/tests/robotests/Android.bp
index c8c6c38..421b576 100644
--- a/tests/robotests/Android.bp
+++ b/tests/robotests/Android.bp
@@ -49,7 +49,6 @@
"telephony-common",
"ims-common",
],
- uses_libs: ["org.apache.http.legacy"],
}
//############################################################