summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Script.java
diff options
context:
space:
mode:
authorlouis_chang <louis_chang@htc.com>2014-08-01 10:09:08 +0800
committerWale Ogunwale <ogunwale@google.com>2014-11-26 14:22:29 -0800
commit33bae1f49669e46ddbd1e68bc4e4a37843adc196 (patch)
tree8688833260390ae6b971077dc95e8d53f2793055 /rs/java/android/renderscript/Script.java
parentb802cd6767c43a85645279a67bb41320058fdb60 (diff)
[ActivityManager] Fix NPE when start activity
Symptom: NPE occurs in line 1184 (resultStack.sendActivityResultLocked) because resultStack is null. Root cause: When starting activity with FLAG_ACTIVITY_FORWARD_RESULT flag, the resultRecord could be updated, but the resultStack is not updated as well. In that case, the resultStack is still be null. The exception will occurs if the activity is not granted to launch due to permission denied. Solution: Update resultStack when resultRecord updates. Change-Id: I91634e4f713c2e8dbd1a71f358a8fd9beed83ec7
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions