diff options
author | Siarhei Vishniakou <svv@google.com> | 2019-03-05 10:05:01 -0800 |
---|---|---|
committer | Siarhei Vishniakou <svv@google.com> | 2019-03-06 11:07:22 -0800 |
commit | d0de1cd170b84c1c02f9c8e39bb88b764d4bd90f (patch) | |
tree | de0a3b0dd2d99726d26dfae0cc6a1c02cd6f3672 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | a11fb3bafe213d4e536ad708aa3809951194a0f7 (diff) |
Add a null check for getWindow()
Protect against crash surfaced by monkey, where it seems that the window
of the dialog is no longer present. If not present, don't need to post
dismiss runnable.
Bug: 124327419
Test: adb shell monkey -p com.google.android.GoogleCamera -s 999 -v 20000
Change-Id: Ic03b8501bb73725e04544fcb2397532be531988e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions