summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2017-05-08 09:47:55 -0700
committerPhilip P. Moltmann <moltmann@google.com>2017-05-11 10:23:41 -0700
commit0d78363a39de01232097a90933cfeb9f8bbe823d (patch)
tree90b98ea1efc2d4c7b424dd6b9fc035d6db5e2514 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta22a5d83c2ec9d4b0549e92c1d3af7550896e7ee (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