From 8369df095a73a77b3715f8ae7ba06089cebca4ce Mon Sep 17 00:00:00 2001 From: Eric Erfanian Date: Wed, 3 May 2017 10:27:13 -0700 Subject: This change reflects the Dialer V10 RC00 branch. RC00 is based on: branch: dialer-android_release_branch/153304843.1 synced to: 153304843 following the instructions at go/dialer-aosp-release. In this release: * Removes final apache sources. * Uses native lite compilation. More drops will follow with subsequent release candidates until we reach our final v10 release, in cadence with our prebuilt drops. Test: TreeHugger, on device Change-Id: Ic9684057230f9b579c777820c746cd21bf45ec0f --- java/com/android/incallui/InCallPresenter.java | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'java/com/android/incallui/InCallPresenter.java') diff --git a/java/com/android/incallui/InCallPresenter.java b/java/com/android/incallui/InCallPresenter.java index d3d839909..a1643d67c 100644 --- a/java/com/android/incallui/InCallPresenter.java +++ b/java/com/android/incallui/InCallPresenter.java @@ -41,8 +41,8 @@ import com.android.dialer.blocking.FilteredNumberAsyncQueryHandler.OnCheckBlocke import com.android.dialer.blocking.FilteredNumbersUtil; import com.android.dialer.common.LogUtil; import com.android.dialer.enrichedcall.EnrichedCallComponent; +import com.android.dialer.logging.InteractionEvent; import com.android.dialer.logging.Logger; -import com.android.dialer.logging.nano.InteractionEvent; import com.android.dialer.postcall.PostCall; import com.android.dialer.telecom.TelecomUtil; import com.android.dialer.util.TouchPointManager; @@ -914,24 +914,6 @@ public class InCallPresenter implements CallList.Listener { && !mInCallActivity.isFinishing()); } - private boolean isActivityVisible() { - return mInCallActivity != null && mInCallActivity.isVisible(); - } - - boolean shouldShowFullScreenNotification() { - /** - * This is to cover the case where the incall activity is started but in the background, e.g. - * when the user pressed Home from the account selection dialog or an existing call. In the case - * that incall activity is already visible, there's no need to configure the notification with a - * full screen intent. - */ - LogUtil.d( - "InCallPresenter.shouldShowFullScreenNotification", - "isActivityVisible: %b", - isActivityVisible()); - return !isActivityVisible(); - } - /** * Determines if the In-Call app is currently changing configuration. * -- cgit v1.2.3