summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2016-02-01 12:03:48 -0800
committerPhilip P. Moltmann <moltmann@google.com>2016-02-01 13:03:44 -0800
commitc2f913d09be9b7db40f8135b61d3372dbcb30808 (patch)
treedf4093fb7c6c813db83674ca7b57d384fbd215cf /tools/aapt2/java/JavaClassGenerator_test.cpp
parent1a8fbfce6f40db2a26e2abf1fd43c5c59c8daf86 (diff)
Only update UI when bound
If the PrintActivity gets destroyed (e.g. due to low memory) it gets re-created when the PrintToPDF activity returns in onActivityResult. In this case onActivityResult is called right after onCreate and before the UI is bound. This resulted in a NullPointerException when accessing the unbound UI elements. Bug: 21749058 Change-Id: I44e625e8c4f10432591d0afcf7825d7e0dbee6f5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions