diff options
author | Eric Erfanian <erfanian@google.com> | 2017-05-03 10:27:13 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-05-03 12:01:21 -0700 |
commit | 8369df095a73a77b3715f8ae7ba06089cebca4ce (patch) | |
tree | 1a45d60921e293c6088efeaf4d9c408456f3e0e2 /java/com/android/incallui/InCallPresenter.java | |
parent | afa29d4a8659eeffc8d92a6216b154f594eeb895 (diff) | |
download | android_packages_apps_Dialer-8369df095a73a77b3715f8ae7ba06089cebca4ce.tar.gz android_packages_apps_Dialer-8369df095a73a77b3715f8ae7ba06089cebca4ce.tar.bz2 android_packages_apps_Dialer-8369df095a73a77b3715f8ae7ba06089cebca4ce.zip |
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
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. * |