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

Commit 89db9b4e authored by Hai Zhang's avatar Hai Zhang
Browse files

Pass the correct match parameter for replacePreferredActivity().

PackageManager.replacePreferredActivity() only accepts intent filter
with an optional scheme, so the match parameter should be either
MATCH_CATEGORY_SCHEME or MATCH_CATEGORY_EMPTY based on whether there
is a data scheme.

Bug: 110557011
Test: manual
Change-Id: Ied939113eb7d15d47efb524ffb85a4818e2aa8e0
parent 6fce37d8
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