Add <uses-library> information.
The required <uses-library> "org.apache.http.legacy" is in the manifest for Settings. It is necessary to explicitly add it to `uses_libs` because it is not among the app dependencies (so Soong does not add it automatically to the manifest_fixer). It also doesn't add it as a compatibility library because the target API level for the app is not below 28. Bug: 132357300 Test: lunch cf_x86_phone-userdebug && m Test: m out/soong/.intermediates/packages/apps/Settings/Settings/android_common/manifest_check/AndroidManifest.xml Test: m out/soong/.intermediates/packages/apps/Settings/tests/robotests/SettingsRoboTestStub/android_common/manifest_check/AndroidManifest.xm Change-Id: Id5d5fe1dff68cf6fce667a00e35710cf0e667d02
This commit is contained in:
@@ -81,6 +81,7 @@ android_app {
|
||||
"settings-platform-compat-config",
|
||||
],
|
||||
static_libs: ["Settings-core"],
|
||||
uses_libs: ["org.apache.http.legacy"],
|
||||
resource_dirs: [],
|
||||
optimize: {
|
||||
proguard_flags_files: ["proguard.flags"],
|
||||
|
@@ -49,6 +49,7 @@ android_app {
|
||||
"telephony-common",
|
||||
"ims-common",
|
||||
],
|
||||
uses_libs: ["org.apache.http.legacy"],
|
||||
}
|
||||
|
||||
//############################################################
|
||||
|
Reference in New Issue
Block a user