commit | 09a185dbca250b2030e4ff2d68eed0060fa6ec8f | [log] [tgz] |
---|---|---|
author | Jeremy Goldman <goldmanj@google.com> | Thu May 13 11:09:44 2021 +0800 |
committer | Jeremy Goldman <goldmanj@google.com> | Thu May 13 14:42:26 2021 +0800 |
tree | 3645ef5e6ea75510adff9338c32180ac8c461178 | |
parent | 3a77c9c9e4948b14079c2d4a34f1dab011141638 [diff] |
Store whether the Dialog was previously dismissed The dialog can be dismissed by either the framework automatically (i.e. when the screen is rotated) or when the subscriptions change. If both of these things happen while the class is not deleted, then dismiss() will be called twice and there will be a crash Bug: 184899699 Test: atest -c SettingsUnitTests Change-Id: Ibaef59696feb566664a424f65f806396f02497e8