From 6ced1221cde089a1ac6f474d5aaae06abd21bc37 Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Mon, 24 Feb 2020 18:36:46 +0900 Subject: [PATCH] Mark updatable APEXes Mark updatable APEXes as updatable: true so that they are opted-out from optimizations that make sense only for non-updatable modules; such as symlinking to the libs in the system partition. Bug: 149805758 Test: m and check that there is no symlink from the APEX to the system partition. Exempt-From-Owner-Approval: cherry-pick from internal Merged-In: Idb55300a60a261c7bb6359439ed220ff51fcf06c (cherry picked from commit 8201bdfab070fb2b93a997947095fad003060da9) Change-Id: Idb55300a60a261c7bb6359439ed220ff51fcf06c --- apex/sdkextensions/Android.bp | 1 + packages/Tethering/apex/Android.bp | 1 + 2 files changed, 2 insertions(+) diff --git a/apex/sdkextensions/Android.bp b/apex/sdkextensions/Android.bp index 100d7e9cf5975..a22a948bb236a 100644 --- a/apex/sdkextensions/Android.bp +++ b/apex/sdkextensions/Android.bp @@ -27,6 +27,7 @@ apex { apex_defaults { name: "com.android.sdkext-defaults", + updatable: true, java_libs: [ "framework-sdkextensions" ], prebuilts: [ "derive_sdk.rc", diff --git a/packages/Tethering/apex/Android.bp b/packages/Tethering/apex/Android.bp index 94ef11cc127a1..96a4d20077534 100644 --- a/packages/Tethering/apex/Android.bp +++ b/packages/Tethering/apex/Android.bp @@ -16,6 +16,7 @@ apex { name: "com.android.tethering", + updatable: true, java_libs: ["framework-tethering"], apps: ["Tethering"], manifest: "manifest.json",