commit | e0297133629a562457fc04f112d061c42e2207c9 | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Thu Jan 17 18:26:16 2019 -0800 |
committer | Hai Zhang <zhanghai@google.com> | Fri Jan 18 16:58:56 2019 -0800 |
tree | f8d6b02b3d46affdd4ccc2d5628cb792dc10db92 | |
parent | b1882925b56729b2bacdff9c1a0d65ecc19e4338 [diff] |
Resolve all browsers even if there is a default browser. PackageManager.queryIntentActivities() handles browser intent differently when there is a default browser, and only returns the default browser. Previous code for querying all the browsers all passed in the PackageManager.MATCH_ALL flag and filtered the result manually, so we move that logic into RoleBehavior. Bug: 110557011 Test: build Change-Id: I928f13d27aca64d49f625dd1ffbd3262b42a06cd