diff options
author | James Lemieux <jplemieux@google.com> | 2017-02-01 17:48:43 -0800 |
---|---|---|
committer | James Lemieux <jplemieux@google.com> | 2017-02-01 17:48:43 -0800 |
commit | 206582b0111d3ef8f6f478dc7dd39fab2e56e7a2 (patch) | |
tree | 862339526bbf62da98cb26191fa7139e13b4a5b5 /src/com/android/deskclock/timer/TimerSetupView.java | |
parent | 63669870c5677e73c61ae81dd7469abccb51d629 (diff) |
Fab no longer double-animates when creating new timers
Bug: 34863910
Test: Manually create a new timer and observe the fab
Change-Id: Ib0a1e3ffa84f459c590a3ef82a18b848404741f5
Diffstat (limited to 'src/com/android/deskclock/timer/TimerSetupView.java')
-rw-r--r-- | src/com/android/deskclock/timer/TimerSetupView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/deskclock/timer/TimerSetupView.java b/src/com/android/deskclock/timer/TimerSetupView.java index 269380039..5dd624ea8 100644 --- a/src/com/android/deskclock/timer/TimerSetupView.java +++ b/src/com/android/deskclock/timer/TimerSetupView.java @@ -169,6 +169,7 @@ public class TimerSetupView extends LinearLayout implements View.OnClickListener public boolean onLongClick(View view) { if (view == mDeleteView) { reset(); + updateFab(); return true; } return false; @@ -293,7 +294,6 @@ public class TimerSetupView extends LinearLayout implements View.OnClickListener Arrays.fill(mInput, 0); mInputPointer = -1; updateTime(); - updateFab(); updateDeleteAndDivider(); } } |