Move the app to /system_ext
As mentioned in go/partitions-in-r, we plan to forbid hidden API in
product partition.
So this app should be moved to /system_ext because it uses hidden API.
It is not permanent, so they can be moved back to /product due to
needs if there isn't hidden usage anymore.
Bug: 137908189
Test: m
Test: check whether device boots successfully
Change-Id: Id1e897eadea814b780f199fa7f3d683924eb4ab3
diff --git a/apps/SdkSetup/Android.bp b/apps/SdkSetup/Android.bp
index 6677773..ac45411 100644
--- a/apps/SdkSetup/Android.bp
+++ b/apps/SdkSetup/Android.bp
@@ -7,5 +7,14 @@
optimize: {
enabled: false,
},
- product_specific: true,
+ system_ext_specific: true,
+ required: ["privapp_whitelist_com.android.sdksetup"],
}
+
+prebuilt_etc {
+ name: "privapp_whitelist_com.android.sdksetup",
+ system_ext_specific: true,
+ sub_dir: "permissions",
+ src: "com.android.sdksetup.xml",
+ filename_from_src: true,
+}
\ No newline at end of file