diff options
author | Eric Erfanian <erfanian@google.com> | 2017-05-03 23:10:39 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-05-03 23:10:39 +0000 |
commit | d67f1627521b174f12e0c247f154c7c93c5e408e (patch) | |
tree | 1a45d60921e293c6088efeaf4d9c408456f3e0e2 /java/com/android/incallui/InCallPresenter.java | |
parent | 010981b798fbc6b8e6a00c3ea507f00c3e77c371 (diff) | |
parent | 8369df095a73a77b3715f8ae7ba06089cebca4ce (diff) |
This change reflects the Dialer V10 RC00 branch.
am: 8369df095a
Change-Id: I6820870feb74cba010ac3039e4da41325b3005f9
Diffstat (limited to 'java/com/android/incallui/InCallPresenter.java')
-rw-r--r-- | java/com/android/incallui/InCallPresenter.java | 20 |
1 files changed, 1 insertions, 19 deletions
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. * |