summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorYuichi Biwa <yuichi.xa.biwa@sonymobile.com>2015-08-06 19:45:27 +0900
committerAdam Powell <adamp@google.com>2016-04-12 09:18:20 -0700
commit66e495e647c10955e4df09c13b6f7dc85c0e58be (patch)
tree400edd4ef30293e36c2fa6856be159647e840c38 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent557c716a3aa3b146c4a2fa4a68860377d435b233 (diff)
Fix: ResolverActivity sometimes cannot update the last chosen activity
Symptom: Calling startActivity() with an implicit intent, ResolverActivity displays preferred activity candidates. At first user selects one of them as "JUST ONCE". And next, the last one is shown again on the top with "JUST ONCE" and "ALWAYS". But even if user selects another ones except top with "JUST ONCE". Next time, the last one is not shown on the top. Instead of that, first one still remain on the top. It means that user can't select activities as "ALWAYS" except first one. Root cause: The implicit intent has a URI but not MIME type. In this case, Intent#resolveTypeIfNeeded returns "null". So MIME type is not passed to PackageManagerService. That's why this issue happens. Change-Id: I87b6da9c5d8b47e071bbedf9f7d5f3ecea730875
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions