Remove some debug logs am: bea8152724

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14951220

Change-Id: I311dd375c383b1099a6e447f24351b1b036fc2eb
This commit is contained in:
Winson Chung
2021-06-14 16:38:03 +00:00
committed by Automerger Merge Worker
2 changed files with 1 additions and 11 deletions

View File

@@ -104,7 +104,7 @@ public class EdgeBackGestureHandler extends CurrentUserTracker
private static final int MAX_NUM_LOGGED_GESTURES = 10;
// Temporary log until b/176302696 is resolved
static final boolean DEBUG_MISSING_GESTURE = true;
static final boolean DEBUG_MISSING_GESTURE = false;
static final String DEBUG_MISSING_GESTURE_TAG = "NoBackGesture";
private static final boolean ENABLE_PER_WINDOW_INPUT_ROTATION =

View File

@@ -560,8 +560,6 @@ public class OverviewProxyService extends CurrentUserTracker implements
mSmartspaceTransitionController.createExternalInterface().asBinder());
try {
Log.d(TAG_OPS + " b/182478748", "OverviewProxyService.onInitialize: curUser="
+ mCurrentBoundedUserId);
mOverviewProxy.onInitialize(params);
} catch (RemoteException e) {
mCurrentBoundedUserId = -1;
@@ -646,7 +644,6 @@ public class OverviewProxyService extends CurrentUserTracker implements
// Listen for nav bar mode changes
mNavBarMode = navModeController.addListener(this);
Log.d(TAG_OPS + " b/182478748", "OverviewProxyService: mode=" + mNavBarMode);
// Listen for launcher package changes
IntentFilter filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED);
@@ -807,7 +804,6 @@ public class OverviewProxyService extends CurrentUserTracker implements
mOverviewServiceConnection,
Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE_WHILE_AWAKE,
UserHandle.of(getCurrentUserId()));
Log.d(TAG_OPS + " b/182478748", "OverviewProxyService.connect: bound=" + mBound);
} catch (SecurityException e) {
Log.e(TAG_OPS, "Unable to bind because of security error", e);
}
@@ -860,9 +856,6 @@ public class OverviewProxyService extends CurrentUserTracker implements
private void disconnectFromLauncherService() {
if (mBound) {
Log.d(TAG_OPS + " b/182478748", "OverviewProxyService.disconnect: curUser="
+ mCurrentBoundedUserId);
// Always unbind the service (ie. if called through onNullBinding or onBindingDied)
mContext.unbindService(mOverviewServiceConnection);
mBound = false;
@@ -993,14 +986,11 @@ public class OverviewProxyService extends CurrentUserTracker implements
final int currentUser = ActivityManagerWrapper.getInstance().getCurrentUserId();
mIsEnabled = mContext.getPackageManager().resolveServiceAsUser(mQuickStepIntent,
MATCH_SYSTEM_ONLY, currentUser) != null;
Log.d(TAG_OPS + " b/182478748", "OverviewProxyService.updateEnabledState: curUser="
+ currentUser + " enabled=" + mIsEnabled);
}
@Override
public void onNavigationModeChanged(int mode) {
mNavBarMode = mode;
Log.d(TAG_OPS + " b/182478748", "OverviewProxyService.onNavModeChanged: mode=" + mode);
}
@Override