diff options
author | Philip P. Moltmann <moltmann@google.com> | 2017-05-08 09:47:55 -0700 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2017-05-11 10:23:41 -0700 |
commit | 0d78363a39de01232097a90933cfeb9f8bbe823d (patch) | |
tree | 90b98ea1efc2d4c7b424dd6b9fc035d6db5e2514 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | a22a5d83c2ec9d4b0549e92c1d3af7550896e7ee (diff) |
Remove forward matches before checking for default
A forward match is a intent-target (aka. match) that switches between the
personal and work profile's intent resolver.
This can be unnecessary if there are no work profile matches.
We need to remove these unnecessary matches early as the default activity
resolution code considers a system app as default _only_ if it is the only
match. Before there could still the an unnecessary forward match under
consideration.
Test: Connected USB accessory that only matches a system app on the personal
profile.
Before we showed a confirm-dialog, now we consider the system app
as default and automatically launch it.
Fixes: 37530439
Change-Id: I7bc9b969fc0b9abae4d15dd3f268783d05b91f9a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions