Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 202ca49d authored by Ulya Trafimovich's avatar Ulya Trafimovich
Browse files

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
parent 4d181cc0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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"],
+1 −0
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@ android_app {
        "telephony-common",
        "ims-common",
    ],
    uses_libs: ["org.apache.http.legacy"],
}

//############################################################