Removing some unused logs
Fixes: 185820525 Fixes: 177316094 Fixes: 158017601 Fixes: 180915942 Change-Id: I8ce5bde08e1728d3209762c5f061245386408825
This commit is contained in:
1 parent
bcf85de807
commit
35226124e3
14 files changed
+8
-156
No files matched your search
@@ -133,8 +133,6 @@ public class RotationTouchHelper implements
|
||||
|
||||
private RotationTouchHelper(Context context) {
|
||||
mContext = context;
|
||||
Log.d(TestProtocol.NO_SWIPE_TO_HOME, "RotationTouchHelper ctor init? " + mNeedsInit
|
||||
+ " " + this);
|
||||
if (mNeedsInit) {
|
||||
init();
|
||||
}
|
||||
@@ -142,11 +140,8 @@ public class RotationTouchHelper implements
|
||||
|
||||
public void init() {
|
||||
if (!mNeedsInit) {
|
||||
Log.d(TestProtocol.NO_SWIPE_TO_HOME, "Did not need init? " + " " + this);
|
||||
return;
|
||||
}
|
||||
Log.d(TestProtocol.NO_SWIPE_TO_HOME, "RotationTouchHelper init() " + this,
|
||||
new Throwable());
|
||||
mDisplayController = DisplayController.INSTANCE.get(mContext);
|
||||
Resources resources = mContext.getResources();
|
||||
mSysUiNavMode = SysUINavigationMode.INSTANCE.get(mContext);
|
||||
@@ -157,8 +152,6 @@ public class RotationTouchHelper implements
|
||||
|
||||
// Register for navigation mode changes
|
||||
SysUINavigationMode.Mode newMode = mSysUiNavMode.addModeChangeListener(this);
|
||||
Log.d(TestProtocol.NO_SWIPE_TO_HOME, "AddedModeChangeListener: " + this +
|
||||
" currentMode: " + newMode);
|
||||
onNavigationModeChanged(newMode);
|
||||
runOnDestroy(() -> mSysUiNavMode.removeModeChangeListener(this));
|
||||
|
||||
@@ -204,7 +197,6 @@ public class RotationTouchHelper implements
|
||||
* Cleans up all the registered listeners and receivers.
|
||||
*/
|
||||
public void destroy() {
|
||||
Log.d(TestProtocol.NO_SWIPE_TO_HOME, "destroying " + this);
|
||||
for (Runnable r : mOnDestroyActions) {
|
||||
r.run();
|
||||
}
|
||||
@@ -253,7 +245,6 @@ public class RotationTouchHelper implements
|
||||
|
||||
@Override
|
||||
public void onNavigationModeChanged(SysUINavigationMode.Mode newMode) {
|
||||
Log.d(TestProtocol.NO_SWIPE_TO_HOME, "nav mode changed: " + newMode);
|
||||
mDisplayController.removeChangeListener(this);
|
||||
mDisplayController.addChangeListener(this);
|
||||
onDisplayInfoChanged(mContext, mDisplayController.getInfo(), CHANGE_ALL);
|
||||
|
||||
Reference in new issue
Block a user