summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
author Joshua Trask <joshtrask@google.com> 2021-11-17 15:35:03 -0500
committer Joshua Trask <joshtrask@google.com> 2021-11-18 10:10:40 -0500
commit6538ea6be7d6406852e850bac734c508471e85b3 (patch)
treecba8dcdec1fd208507ff8ad334f405dbd56569f1 /Android.bp
parent3767ec9d6980d35a7300996a2d077c77559598d4 (diff)
Derive unbundled Chooser from system version.
This is a shortcut to bootstrap the unbundling work by providing an architectural equivalent to the next "phase" of unbundling while we continue investigating (i.e., in in this version, the unbundled ChooserActivity is responsible for showing the Sharesheet UI, and then it launches the user's selection via the startActivityAsCaller API). For more information about: * The "unbundling" project: go/sharesheet-unbundling * The architecture of this next (third) unbundling phase: go/sharesheet-unbundling-phases * The motivation for starting with this temporary inheritance-based implementation: b/202165481 Test: Manually tested (in combination with system-side change ag/16285975). I had to disable the auto-selection logic to see any UI (b/206831012), but I was able to get a sharesheet activity from userspace, where I selected a target that then got launched. This is *not* at parity, but it's a baseline we can use when we investigate the remaining issues. Bug: 202165481 Change-Id: Ia2b89cc0e2735c8be7ad4cfc46c626a93e7fdee3
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 41354b49..2a620448 100644
--- a/Android.bp
+++ b/Android.bp
@@ -58,6 +58,9 @@ android_app {
min_sdk_version: "18",
certificate: "platform",
privileged: true,
+ required: [
+ "privapp_whitelist_com.android.intentresolver",
+ ],
srcs: ["src/**/*.java"],
platform_apis: true,
static_libs: [