From 520186e5ac16d37c864c401a4e448dc18bb9823a Mon Sep 17 00:00:00 2001 From: Luca Stefani Date: Thu, 28 Oct 2021 23:47:10 +0200 Subject: [PATCH] lineage-sdk: Bring back Lineage resources to system This partially reverts commit 4068ca7095ec7788d0e13464686c10338fbb824c. Reason for revert: * Currently Android (PackageManagerService) scans for packages (APKs) only in ANDROID_ROOT/framework/ along the standard $partition/{app,priv-app} directories. * By moving to system_ext we accidentally broke the addition of AndroidManifest entries to the runtime (resources and assets weren't affected as handled manually/differently). Note: jars can still be loaded with no issues from this partition. * Instead of allowing system_ext to provide framework packages and pending (future) AOSP discussion to include system_ext to the allowed path, simply move back the package. Change-Id: I352c1518ed43e0631abaebccc1e2093b09d49b6f --- Android.bp | 1 - 1 file changed, 1 deletion(-) diff --git a/Android.bp b/Android.bp index 76f38775..5d48fab9 100644 --- a/Android.bp +++ b/Android.bp @@ -18,7 +18,6 @@ android_app { name: "org.lineageos.platform-res", sdk_version: "core_platform", certificate: "platform", - system_ext_specific: true, manifest: "lineage/res/AndroidManifest.xml",