From 9aa0cae59f741524285391fa6877252f6ade76ec Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Tue, 2 Dec 2014 15:04:21 -0800 Subject: Add some more logging in InCallActivity and InCallPresenter Bug: 18589036 Change-Id: Idac704fab2f31ecc908c1fe9ffe854dda0d2c34f --- InCallUI/src/com/android/incallui/InCallActivity.java | 2 +- InCallUI/src/com/android/incallui/InCallPresenter.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'InCallUI/src') diff --git a/InCallUI/src/com/android/incallui/InCallActivity.java b/InCallUI/src/com/android/incallui/InCallActivity.java index 3f9cd9827..e94a2dcad 100644 --- a/InCallUI/src/com/android/incallui/InCallActivity.java +++ b/InCallUI/src/com/android/incallui/InCallActivity.java @@ -314,7 +314,7 @@ public class InCallActivity extends Activity { @Override public void onBackPressed() { - Log.d(this, "onBackPressed()..."); + Log.i(this, "onBackPressed"); // BACK is also used to exit out of any "special modes" of the // in-call UI: diff --git a/InCallUI/src/com/android/incallui/InCallPresenter.java b/InCallUI/src/com/android/incallui/InCallPresenter.java index d48225c41..798929394 100644 --- a/InCallUI/src/com/android/incallui/InCallPresenter.java +++ b/InCallUI/src/com/android/incallui/InCallPresenter.java @@ -979,6 +979,7 @@ public class InCallPresenter implements CallList.Listener, InCallPhoneListener { if (isCallWaiting) { if (mProximitySensor.isScreenReallyOff() && isActivityStarted()) { + Log.i(this, "Restarting InCallActivity to turn screen on for call waiting"); mInCallActivity.finish(); // When the activity actually finishes, we will start it again if there are // any active calls, so we do not need to start it explicitly here. Note, we -- cgit v1.2.3