Removed layout info

pull/210/head
M66B 2 years ago
parent 0bf45fe50b
commit 28e9c34dab

@ -1055,13 +1055,15 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
@Override @Override
protected void onStart() { protected void onStart() {
super.onStart(); super.onStart();
infoTracker.addWindowLayoutInfoListener(this, Runnable::run, layoutStateChangeCallback); if (BuildConfig.DEBUG)
infoTracker.addWindowLayoutInfoListener(this, Runnable::run, layoutStateChangeCallback);
} }
@Override @Override
protected void onStop() { protected void onStop() {
super.onStop(); super.onStop();
infoTracker.removeWindowLayoutInfoListener(layoutStateChangeCallback); if (BuildConfig.DEBUG)
infoTracker.removeWindowLayoutInfoListener(layoutStateChangeCallback);
} }
@Override @Override

Loading…
Cancel
Save