summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipUtils.cpp
diff options
context:
space:
mode:
author Maryam Dehaini <mdehaini@google.com> 2024-12-09 16:58:47 -0800
committer Maryam Dehaini <mdehaini@google.com> 2024-12-12 16:41:06 -0800
commitabc2e065952bf165d51f00f94e986c020622e2c6 (patch)
tree746bfb086bae3a4b3e1d80ce14b9753c03272140 /libs/androidfw/ZipUtils.cpp
parent20c9033e2385a42b0ed813491c7658ad84f96e83 (diff)
Do not return intent if resolved to browser activity
Intent to switch from web to app should only be provided if intent is resolved to non-browser activity. FLAG_ACTIVITY_REQUIRE_NON_BROWSER was previously used to accomplish this, but this flag only throws an exception when startActivity is called and still returns the browser when Intent#startActivity is called. Changes also resolves activities as a user to assure app does not open in another user's account. Bug: 349695493 Test: Use open in browser button in header menu after clicking on link Flag: com.android.window.flags.enable_desktop_windowing_app_to_web Change-Id: Id3caabd02b98e77406677ac382be1fc32d643ed0
Diffstat (limited to 'libs/androidfw/ZipUtils.cpp')
0 files changed, 0 insertions, 0 deletions