remove telephony-common from boot class
As telephony-common is not intended to used by any apps and being in boot class is not updatability friendly. We are removing telephony-common from bootclass in R. we will convert telephony-common to sharedlib (uses-library) and make sure apps targeting < R will auto load telephony-common lib for app compatibility. Bug: 135955937 Test: Build Change-Id: I57e2d676315caa023121e4315d435f9f928cb39e
This commit is contained in:
parent
07760edad3
commit
195de31de7
3 changed files with 6 additions and 1 deletions
|
@ -66,6 +66,11 @@ fi
|
|||
if [[ "${target_sdk_version}" -lt "29" ]]; then
|
||||
add_to_contexts "${conditional_host_libs_29}" "${conditional_target_libs_29}"
|
||||
fi
|
||||
# TODO(b/139318877) Remove check for SDK_VERSION_CUR_DEVELOPMENT after cleaning up system apps targeting on
|
||||
# current SDK version and link telephony-common
|
||||
if [ "${target_sdk_version}" -lt "30" ] || [ "${target_sdk_version}" -eq "10000"]; then
|
||||
add_to_contexts "${conditional_host_libs_30}" "${conditional_target_libs_30}"
|
||||
fi
|
||||
|
||||
add_to_contexts "${dex_preopt_host_libraries}" "${dex_preopt_target_libraries}"
|
||||
|
||||
|
|
|
@ -187,6 +187,7 @@ ifdef LOCAL_DEX_PREOPT
|
|||
org.apache.http.legacy \
|
||||
android.hidl.base-V1.0-java \
|
||||
android.hidl.manager-V1.0-java \
|
||||
telephony-common \
|
||||
|
||||
my_dexpreopt_libs := $(sort \
|
||||
$(LOCAL_USES_LIBRARIES) \
|
||||
|
|
|
@ -326,7 +326,6 @@ PRODUCT_BOOT_JARS := \
|
|||
$(TARGET_CORE_JARS) \
|
||||
framework \
|
||||
ext \
|
||||
telephony-common \
|
||||
voip-common \
|
||||
ims-common \
|
||||
updatable-media
|
||||
|
|
Loading…
Reference in a new issue