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

Commit 2550f3f7 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Don't wtf when rects are not available

No reason to freak out about this - this isn't that dramatic such
that it should affect our system stability metrics.

Test: Boot device
Bug: 35633644
Change-Id: I70f4303b315376f6c80edd199473b9218f718a8c
parent 4fd24551
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -692,7 +692,7 @@ public class AppTransition implements Dump {
    private void getDefaultNextAppTransitionStartRect(Rect rect) {
        if (mDefaultNextAppTransitionAnimationSpec == null ||
                mDefaultNextAppTransitionAnimationSpec.rect == null) {
            Slog.wtf(TAG, "Starting rect for app requested, but none available", new Throwable());
            Slog.e(TAG, "Starting rect for app requested, but none available", new Throwable());
            rect.setEmpty();
        } else {
            rect.set(mDefaultNextAppTransitionAnimationSpec.rect);
@@ -705,7 +705,7 @@ public class AppTransition implements Dump {
            spec = mDefaultNextAppTransitionAnimationSpec;
        }
        if (spec == null || spec.rect == null) {
            Slog.wtf(TAG, "Starting rect for task: " + taskId + " requested, but not available",
            Slog.e(TAG, "Starting rect for task: " + taskId + " requested, but not available",
                    new Throwable());
            rect.setEmpty();
        } else {