summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Shen Lin <shhenlin@gmail.com> 2022-09-24 01:13:30 +0800
committer Shen Lin <shhenlin@gmail.com> 2022-09-26 23:13:45 +0800
commita90b57acd8785f02fae5726928299e77719f0e38 (patch)
treea6d7297b88f23bb0fcd975497fefbd20b8af0747 /api/api_test.go
parent766bd4cedbd00fe300f8eb693001395c380fc067 (diff)
Fix crash when trying to dismiss dialog
Calling Dialog.dismiss() requires a safe condition, including that dialog is shown,and activity is neither finishing nor destroying, so we should add a precondition check here to avoid crash. Bug: 248562161 Test: manual and atest Change-Id: I87de2cd05680815d4bb4e80ac1e0d6e2e4a685f7
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions