diff options
author | Ian Rogers <irogers@google.com> | 2016-03-16 14:33:46 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2016-03-16 15:04:40 -0700 |
commit | 0f8a9ff282baa96fb7f4f54703c5e71c1d0d1181 (patch) | |
tree | c090565218c6233c022de4f321c480b47d5d4151 /src | |
parent | e3813d9a3aa0464fa34e532e8971ec6e8edfff9f (diff) |
Add missing lock discovered by GuardedBy checker.
Found by error prone.
Change-Id: I8923c4e7095e644b8e09841ebda1911e6589b4e0
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java b/src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java index 158ed5834..c918d7944 100644 --- a/src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java +++ b/src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java @@ -114,6 +114,7 @@ public class VoicemailPlaybackLayout extends LinearLayout } } + @GuardedBy("mLock") private void cancelPendingRunnables() { if (mScheduledFuture != null) { mScheduledFuture.cancel(true); |