summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantos Cordon <santoscordon@google.com>2013-10-08 16:02:05 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-10-08 16:02:05 -0700
commitb2c0205d1dfb49bb8d827714bddbe0a39ca595fc (patch)
tree61d3ff46e599d78b51b42aad6d47a155cf5899c6
parentf3b38684223f0b5da598244cb093e09f51f40d55 (diff)
parentb764befad1563c7b707428c4c10fc08d258855db (diff)
am ed04c7c3: am 1154dc91: am 6c93e39b: Merge "Add logging to dialer." into klp-dev
* commit 'ed04c7c388d663e4cab06840bbb9b9423c7a561e': Add logging to dialer.
-rw-r--r--InCallUI/src/com/android/incallui/InCallApp.java2
-rw-r--r--InCallUI/src/com/android/incallui/ProximitySensor.java5
2 files changed, 4 insertions, 3 deletions
diff --git a/InCallUI/src/com/android/incallui/InCallApp.java b/InCallUI/src/com/android/incallui/InCallApp.java
index 6708bb49d..dcc78481b 100644
--- a/InCallUI/src/com/android/incallui/InCallApp.java
+++ b/InCallUI/src/com/android/incallui/InCallApp.java
@@ -57,7 +57,7 @@ public class InCallApp extends Application {
@Override
public void onReceive(Context context, Intent intent) {
final String action = intent.getAction();
- Log.v(this, "Broadcast from Notification: ", action);
+ Log.i(this, "Broadcast from Notification: " + action);
if (action.equals(ACTION_HANG_UP_ONGOING_CALL)) {
// TODO: Commands of this nature should exist in the CallList or a
diff --git a/InCallUI/src/com/android/incallui/ProximitySensor.java b/InCallUI/src/com/android/incallui/ProximitySensor.java
index 2210a38a8..0da68efb2 100644
--- a/InCallUI/src/com/android/incallui/ProximitySensor.java
+++ b/InCallUI/src/com/android/incallui/ProximitySensor.java
@@ -216,8 +216,9 @@ public class ProximitySensor implements AccelerometerListener.OrientationListene
.add("keybrd", mIsHardKeyboardOpen ? 1 : 0)
.add("dpad", mDialpadVisible ? 1 : 0)
.add("offhook", mIsPhoneOffhook ? 1 : 0)
- .add("aud", audioMode)
- .add("hor", horizontal ? 1 : 0).toString());
+ .add("hor", horizontal ? 1 : 0)
+ .add("ui", mUiShowing ? 1 : 0)
+ .add("aud", AudioMode.toString(audioMode)).toString());
if (mIsPhoneOffhook && !screenOnImmediately) {
final String logStr = "turning on proximity sensor: ";