diff options
author | Chen Xu <fionaxu@google.com> | 2020-12-17 21:24:22 +0800 |
---|---|---|
committer | Chen Xu <fionaxu@google.com> | 2020-12-17 21:24:22 +0800 |
commit | 494dafc5d169366abe966f4c46ef6c2c1bc01565 (patch) | |
tree | 68f32ce70a002b087f83842068983b1d407f6f59 | |
parent | 2881cd3ee1dc390429bc76cce8e0765517afe13c (diff) | |
download | CellBroadcastReceiver-494dafc5d169366abe966f4c46ef6c2c1bc01565.tar.gz |
Red exclamation point icon in dialog disappears onPause
Red exclamation point icon in dialog disappears for a while
when moving to the link. The issue here is inside onPause,
the imageView for the warning icon is set to invisible, not
only the red exclamation point icon disappeared but text shifted to
left. There is no need to make imageview disappear inside onPause
given the dialog is no longer in the foreground.
Bug: 172787290
Test: Manual test
Change-Id: Id6d351f0aabdcdabe79aa338d3398eb67cd70371
-rw-r--r-- | src/com/android/cellbroadcastreceiver/CellBroadcastAlertDialog.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/com/android/cellbroadcastreceiver/CellBroadcastAlertDialog.java b/src/com/android/cellbroadcastreceiver/CellBroadcastAlertDialog.java index e80fbddbd..2613184ec 100644 --- a/src/com/android/cellbroadcastreceiver/CellBroadcastAlertDialog.java +++ b/src/com/android/cellbroadcastreceiver/CellBroadcastAlertDialog.java @@ -200,9 +200,6 @@ public class CellBroadcastAlertDialog extends Activity { public void stopIconAnimation() { // Increment the counter so the handler will ignore the next message. mCount.incrementAndGet(); - if (mWarningIconView != null) { - mWarningIconView.setVisibility(View.GONE); - } } /** Update the visibility of the warning icon. */ |