summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorlouis_chang <louis_chang@htc.com>2014-08-01 10:09:08 +0800
committerCraig Mautner <cmautner@google.com>2014-12-04 13:06:05 -0800
commitcd5d198d7e852bc68871a279afbaa1b94e86a023 (patch)
tree6017680edc89b76a801e6ea4c0587c14336ef0b5 /tools/aapt2/java/JavaClassGenerator.cpp
parent932c33214729fe2d2b09f82ef60a72871f182654 (diff)
[ActivityManager] Fix NPE when start activity
Cherry picked from aosp. Fixes bug 18593457. 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 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions