From 3917ad157ba21d024ec3232c9891f1f0a170bcaf Mon Sep 17 00:00:00 2001 From: Brandon Maxwell Date: Wed, 20 Jan 2016 17:05:09 -0800 Subject: Hiding addCall button while the device is fbe locked Bug=26543932 Change-Id: I37c46404f20d16c91ab391c14b7f2d2cb5528630 --- InCallUI/src/com/android/incallui/CallButtonPresenter.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/InCallUI/src/com/android/incallui/CallButtonPresenter.java b/InCallUI/src/com/android/incallui/CallButtonPresenter.java index 7e5f7c63f..34298c3fa 100644 --- a/InCallUI/src/com/android/incallui/CallButtonPresenter.java +++ b/InCallUI/src/com/android/incallui/CallButtonPresenter.java @@ -35,6 +35,7 @@ import android.telecom.VideoProfile; import com.android.contacts.common.compat.SdkVersionOverride; import com.android.dialer.compat.CallAudioStateCompat; +import com.android.dialer.compat.UserManagerCompat; import com.android.incallui.AudioModeProvider.AudioModeListener; import com.android.incallui.InCallCameraManager.Listener; import com.android.incallui.InCallPresenter.CanAddCallListener; @@ -378,7 +379,8 @@ public class CallButtonPresenter extends Presenter