Add <uses-library> information.
Dialer app uses non-optional "org.apache.http.legacy" library. It is
necessary to add this information to LOCAL_USES_LIBRARIES to pass
manifest_check and generate correct class loader context for dexpreopt.
Bug: 132357300
Test: m out/target/common/obj/APPS/Dialer_intermediates/enforce_uses_libraries.status
Test: lunch aosp_cf_x86_64_phone-userdebug && m && launch_cvd \
adb wait-for-device && adb root && adb logcat \
| grep -E 'ClassLoaderContext [a-z ]+ mismatch'
# no mismatch error messages related to Dialer
Change-Id: I112ed8d131f8504635c9c79540e28b46a2958639
1 file changed