Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed410b69 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Don't yell when calling into SystemUI

Test: Open app from recents, make sure no yelling in logging
Bug: 32969571
Change-Id: I19ba834713edceae7c678c49629fe8530dc9dbb8
parent 70f59488
Loading
Loading
Loading
Loading
+18 −19
Original line number Diff line number Diff line
@@ -54,6 +54,7 @@ import android.content.res.Configuration;
import android.graphics.Bitmap;
import android.graphics.Path;
import android.graphics.Rect;
import android.os.Binder;
import android.os.Debug;
import android.os.IBinder;
import android.os.IRemoteCallback;
@@ -1808,11 +1809,10 @@ public class AppTransition implements Dump {
            final IAppTransitionAnimationSpecsFuture future
                    = mNextAppTransitionAnimationsSpecsFuture;
            mNextAppTransitionAnimationsSpecsFuture = null;
            mDefaultExecutor.execute(new Runnable() {
                @Override
                public void run() {
            mDefaultExecutor.execute(() -> {
                AppTransitionAnimationSpec[] specs = null;
                try {
                    Binder.allowBlocking(future.asBinder());
                    specs = future.get();
                } catch (RemoteException e) {
                    Slog.w(TAG, "Failed to fetch app transition specs: " + e);
@@ -1828,7 +1828,6 @@ public class AppTransition implements Dump {
                    }
                }
                mService.requestTraversal();
                }
            });
        }
    }