summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/systemui/OverviewProxyService.java
diff options
context:
space:
mode:
authorMatthew Ng <ngmatthew@google.com>2018-01-17 16:25:56 -0800
committerMatthew Ng <ngmatthew@google.com>2018-01-17 17:05:43 -0800
commitbd8245718d55a5348d0ced14dbb8d99c526c313a (patch)
tree2ced1f5644cbeaec792ec905a2e0aab5673ee1e3 /packages/SystemUI/src/com/android/systemui/OverviewProxyService.java
parente2861da8ef0eba65c1bb9d5f67380884e2ead939 (diff)
Added logging for OverviewProxyService
Added debug logs for OverviewProxyService. Use "OverviewProxyService" as the tag to get logs. The logs cover all of the binder calls from IOverviewProxy.adl. Test: manual Bug: 67957962 Change-Id: Ia46848e54683fc1aacdb633644b5161c1ac58b16
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/OverviewProxyService.java')
-rw-r--r--packages/SystemUI/src/com/android/systemui/OverviewProxyService.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/OverviewProxyService.java b/packages/SystemUI/src/com/android/systemui/OverviewProxyService.java
index a7d1f0d977c6..0be522bfb8cb 100644
--- a/packages/SystemUI/src/com/android/systemui/OverviewProxyService.java
+++ b/packages/SystemUI/src/com/android/systemui/OverviewProxyService.java
@@ -51,7 +51,8 @@ import java.util.List;
*/
public class OverviewProxyService implements CallbackController<OverviewProxyListener>, Dumpable {
- private static final String TAG = "OverviewProxyService";
+ public static final String TAG_OPS = "OverviewProxyService";
+ public static final boolean DEBUG_OVERVIEW_PROXY = false;
private static final long BACKOFF_MILLIS = 5000;
private final Context mContext;
@@ -96,12 +97,12 @@ public class OverviewProxyService implements CallbackController<OverviewProxyLis
try {
service.linkToDeath(mOverviewServiceDeathRcpt, 0);
} catch (RemoteException e) {
- Log.e(TAG, "Lost connection to launcher service", e);
+ Log.e(TAG_OPS, "Lost connection to launcher service", e);
}
try {
mOverviewProxy.onBind(mSysUiProxy);
} catch (RemoteException e) {
- Log.e(TAG, "Failed to call onBind()", e);
+ Log.e(TAG_OPS, "Failed to call onBind()", e);
}
notifyConnectionChanged();
}
@@ -211,7 +212,7 @@ public class OverviewProxyService implements CallbackController<OverviewProxyLis
@Override
public void dump(FileDescriptor fd, PrintWriter pw, String[] args) {
- pw.println(TAG + " state:");
+ pw.println(TAG_OPS + " state:");
pw.print(" mConnectionBackoffAttempts="); pw.println(mConnectionBackoffAttempts);
pw.print(" isCurrentUserSetup="); pw.println(mDeviceProvisionedController
.isCurrentUserSetup());