Fix merge todo

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
This commit is contained in:
Pun Butrach
2025-09-03 20:58:13 +07:00
parent e601c3edd5
commit 78e542424e
@@ -731,10 +731,12 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,
@Override
protected boolean initDeviceProfile(InvariantDeviceProfile idp) {
final boolean ret = super.initDeviceProfile(idp);
// Lawnchair-TODO-Merge: LC disabled this, see 16r2 ref below:
// mDeviceProfile.isPredictiveBackSwipe =
// getApplicationInfo().isOnBackInvokedCallbackEnabled();
mDeviceProfile.isPredictiveBackSwipe = false;
try {
mDeviceProfile.isPredictiveBackSwipe =
getApplicationInfo().isOnBackInvokedCallbackEnabled();
} catch (Throwable t) {
mDeviceProfile.isPredictiveBackSwipe = false;
}
if (ret) {
SystemUiProxy.INSTANCE.get(this).setLauncherAppIconSize(mDeviceProfile.iconSizePx);
}