summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPatrick Baumann <patb@google.com>2019-11-18 13:43:11 -0800
committerPatrick Baumann <patb@google.com>2019-11-19 21:43:48 +0000
commit3fa88533316995c52d29a14df600e477f83c04d9 (patch)
treede29a29742a926fa927b348afeedfcafc63584ef /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent1d7a53da981b7d4281c58af7eb9b150163b344a6 (diff)
DO NOT MERGE Avoids deadlock when applying preferred activities
Prior to this change, we were resolving the mime type of a given intent while holding the package lock. With this change, we instead rely on the preferred-activity declaration to define the mime type if it's important, removing need for an activity manager service call and the potential for deadlock. Fixes: 143105100 Test: Manual; sideload to /system/etc/preferred-apps/ and reset app preferences Change-Id: Ia87b7ecbd7987ef654fb0fc2bda942cd6a9c00a7
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions