From 0f8a9ff282baa96fb7f4f54703c5e71c1d0d1181 Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Wed, 16 Mar 2016 14:33:46 -0700 Subject: Add missing lock discovered by GuardedBy checker. Found by error prone. Change-Id: I8923c4e7095e644b8e09841ebda1911e6589b4e0 --- src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/com/android') 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); -- cgit v1.2.3