diff options
Diffstat (limited to 'java/com/android/incallui')
-rw-r--r-- | java/com/android/incallui/InCallActivityCommon.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/com/android/incallui/InCallActivityCommon.java b/java/com/android/incallui/InCallActivityCommon.java index d39ce22b0..a9702b447 100644 --- a/java/com/android/incallui/InCallActivityCommon.java +++ b/java/com/android/incallui/InCallActivityCommon.java @@ -51,6 +51,7 @@ import com.android.contacts.common.widget.SelectPhoneAccountDialogFragment.Selec import com.android.dialer.animation.AnimUtils; import com.android.dialer.animation.AnimationListenerAdapter; import com.android.dialer.common.LogUtil; +import com.android.dialer.compat.ActivityCompat; import com.android.dialer.compat.CompatUtils; import com.android.dialer.logging.Logger; import com.android.dialer.logging.ScreenEvent; @@ -714,7 +715,7 @@ public class InCallActivityCommon { } void updateNavigationBar(boolean isDialpadVisible) { - if (!inCallActivity.isInMultiWindowMode()) { + if (!ActivityCompat.isInMultiWindowMode(inCallActivity)) { View navigationBarBackground = inCallActivity.getWindow().findViewById(R.id.navigation_bar_background); if (navigationBarBackground != null) { |