Remove some debug logs

Bug: 183219710
Test: Just disabling logs
Change-Id: I531477dc1ec09f1f429048e2b6137bd9f0f1c1c7
This commit is contained in:
Winson Chung
2021-06-11 21:01:10 -07:00
parent 3b5e4d2936
commit bea8152724
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