1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-23 06:31:17 +00:00

Removed layout info

This commit is contained in:
M66B 2022-12-06 16:51:04 +01:00
parent 0bf45fe50b
commit 28e9c34dab

View file

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