summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2013-09-23 17:38:51 -0700
committerDianne Hackborn <hackbod@google.com>2013-09-24 14:16:38 -0700
commit6d8dfbd8149942f25f2b9643a12f1fb38f3be834 (patch)
tree4b306b550d24d2462b83a30d056ac255ac422437 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentcfdc0369f133787ed60015610016e9e53964bd77 (diff)
Fix issue #10848916: "Always" button is not working.
The problem was that the ResolverActivity filters some activities out of the list it shows, but it uses that display list as the list of components the preference is set against when ultimately setting it on the package manager... but that filtered list is *not* the right component set, since it is not the same as the package manager's view on it. The fix here is to retain the original set of matching components and use that when setting the preferred activity. Note that this does mean that in very unusual cases where filtering is happeing (such as one of the activities not being exported but being seen as a possible completion from another app), then you will be setting the preference for the complete set. Ultimately we probably need to have the package manager apply these filtering rules up-front so this is all consistent, but this is a very rare case so not that important. And then most of the change here is just improving the debug output for intent resolution. Change-Id: Ie35ac2c05a45946439951bbf41433c8b7de79c05
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions