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
diff --git a/java/com/android/incallui/InCallPresenter.java b/java/com/android/incallui/InCallPresenter.java
index d3d8399..a1643d6 100644
--- a/java/com/android/incallui/InCallPresenter.java
+++ b/java/com/android/incallui/InCallPresenter.java
@@ -41,8 +41,8 @@
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 @@
&& !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.
*