Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit abc2e065 authored by Maryam Dehaini's avatar Maryam Dehaini
Browse files

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
parent 20c9033e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment