Tune fold animation on top of apps
On top of apps, the fold animation is triggered only after a threshold. On Launcher, there is not threshold. In this way, we don't show fold animation while apps might be handling table top/half_folded state. + timeout to finish the animation made shorter Test: atest DeviceFoldStateProviderTest Bug: 225185239 Change-Id: I5adf82e853af9a5dee5af41a853abb84c9926ccd
This commit is contained in:
@@ -33,6 +33,7 @@ import static com.android.systemui.shared.system.ActivityManagerWrapper.CLOSE_SY
|
||||
|
||||
import android.animation.AnimatorSet;
|
||||
import android.animation.ValueAnimator;
|
||||
import android.app.ActivityManager;
|
||||
import android.app.ActivityOptions;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
@@ -325,6 +326,7 @@ public abstract class BaseQuickstepLauncher extends Launcher {
|
||||
config,
|
||||
ProxyScreenStatusProvider.INSTANCE,
|
||||
getSystemService(DeviceStateManager.class),
|
||||
getSystemService(ActivityManager.class),
|
||||
getSystemService(SensorManager.class),
|
||||
getMainThreadHandler(),
|
||||
getMainExecutor(),
|
||||
|
||||
Reference in New Issue
Block a user