summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Matt Casey <mrcasey@google.com> 2022-01-28 15:13:06 -0500
committer Matt Casey <mrcasey@google.com> 2022-03-06 20:56:53 -0500
commit7e8449ca8a5b4f3145a8a9128caee34adf4df3c5 (patch)
tree7bd77853744ba18b37fc0df3922f8818f8080cce /libs/androidfw/AttributeResolution.cpp
parentedc7b17ce927540ea51cf708aa3adcff9ed717fe (diff)
Intercept chooser intents to use unbundled chooser (when enabled)
When SystemUiDeviceConfigFlags.USE_DELEGATE_CHOOSER is true (default false), rewrite intents destined for the sytem chooser to go to the unbundled chooser and attach a start activity permission token. Outside of this CL we're working on removing the need for the permission token. When unbundling is complete, there won't be any rewriting of components, as the intent will already be destined for the unbundled chooser. Assuming the token goes away, we could then remove the interceptor (b/222706900). Bug: 202165481 Bug: 222706900 Test: atest ChooserActivityTest, manual tests with the flag enabled and not to verify that the proper sharesheet appears and functions. Change-Id: I56e26157fc3e1b3f2b4dfeae4bb1ab555191e047
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions