1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-06 11:39:49 +00:00

Enabled WindowLayoutInfo for all release types

This commit is contained in:
M66B 2024-09-26 09:06:37 +02:00
parent b2e08a855e
commit a12f3d66ec

View file

@ -1186,8 +1186,8 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
@Override
protected void onStart() {
super.onStart();
if (!Helper.isPlayStoreInstall())
infoTracker.addWindowLayoutInfoListener(this, Runnable::run, layoutStateChangeCallback);
infoTracker.addWindowLayoutInfoListener(this, Runnable::run, layoutStateChangeCallback);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.VANILLA_ICE_CREAM &&
hasPermission(Manifest.permission.DETECT_SCREEN_RECORDING))
@ -1202,8 +1202,8 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
@Override
protected void onStop() {
super.onStop();
if (!Helper.isPlayStoreInstall())
infoTracker.removeWindowLayoutInfoListener(layoutStateChangeCallback);
infoTracker.removeWindowLayoutInfoListener(layoutStateChangeCallback);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.VANILLA_ICE_CREAM &&
hasPermission(Manifest.permission.DETECT_SCREEN_RECORDING))