commit | d0de1cd170b84c1c02f9c8e39bb88b764d4bd90f | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Tue Mar 05 10:05:01 2019 -0800 |
committer | Siarhei Vishniakou <svv@google.com> | Wed Mar 06 11:07:22 2019 -0800 |
tree | de0a3b0dd2d99726d26dfae0cc6a1c02cd6f3672 | |
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