feat: Add option to clear home screen in settings (#6125)
Signed-off-by: abhixv <abhi.sharma1@hotmail.com>
This commit is contained in:
committed by
Pun Butrach
parent
9898749619
commit
5f3a03f4fb
@@ -27,7 +27,7 @@ import android.animation.AnimatorSet;
|
||||
import android.content.Context;
|
||||
import android.os.Build;
|
||||
import android.os.Handler;
|
||||
import android.util.Log;
|
||||
import android.os.RemoteException;
|
||||
import android.view.IRemoteAnimationFinishedCallback;
|
||||
import android.view.RemoteAnimationTarget;
|
||||
import android.view.SurfaceControl;
|
||||
@@ -223,7 +223,6 @@ public class LauncherAnimationRunner extends RemoteAnimationRunnerCompat {
|
||||
if (skipFirstFrame) {
|
||||
// Because t=0 has the app icon in its original spot, we can skip the
|
||||
// first frame and have the same movement one frame earlier.
|
||||
Log.d("b/311077782", "LauncherAnimationRunner.setAnimation");
|
||||
mAnimator.setCurrentPlayTime(
|
||||
Math.min(getSingleFrameMs(context), mAnimator.getTotalDuration()));
|
||||
}
|
||||
@@ -238,7 +237,7 @@ public class LauncherAnimationRunner extends RemoteAnimationRunnerCompat {
|
||||
* animation finished runnable.
|
||||
*/
|
||||
@Override
|
||||
public void onAnimationFinished() {
|
||||
public void onAnimationFinished() throws RemoteException {
|
||||
mASyncFinishRunnable.run();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user