Enabled WindowLayoutInfo for all release types

master
M66B 2 months ago
parent b2e08a855e
commit a12f3d66ec

@ -1186,7 +1186,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
@Override @Override
protected void onStart() { protected void onStart() {
super.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 && if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.VANILLA_ICE_CREAM &&
@ -1202,7 +1202,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
@Override @Override
protected void onStop() { protected void onStop() {
super.onStop(); super.onStop();
if (!Helper.isPlayStoreInstall())
infoTracker.removeWindowLayoutInfoListener(layoutStateChangeCallback); infoTracker.removeWindowLayoutInfoListener(layoutStateChangeCallback);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.VANILLA_ICE_CREAM && if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.VANILLA_ICE_CREAM &&

Loading…
Cancel
Save