mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 22:51:02 +00:00
Removed layout info
This commit is contained in:
parent
0bf45fe50b
commit
28e9c34dab
1 changed files with 4 additions and 2 deletions
|
@ -1055,12 +1055,14 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||||
@Override
|
@Override
|
||||||
protected void onStart() {
|
protected void onStart() {
|
||||||
super.onStart();
|
super.onStart();
|
||||||
|
if (BuildConfig.DEBUG)
|
||||||
infoTracker.addWindowLayoutInfoListener(this, Runnable::run, layoutStateChangeCallback);
|
infoTracker.addWindowLayoutInfoListener(this, Runnable::run, layoutStateChangeCallback);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onStop() {
|
protected void onStop() {
|
||||||
super.onStop();
|
super.onStop();
|
||||||
|
if (BuildConfig.DEBUG)
|
||||||
infoTracker.removeWindowLayoutInfoListener(layoutStateChangeCallback);
|
infoTracker.removeWindowLayoutInfoListener(layoutStateChangeCallback);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue