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

Commit 8fbe05fb authored by Craig Mautner's avatar Craig Mautner Committed by Android (Google) Code Review
Browse files

Merge "Call updateUsageStats for all stacks."

parents 6a341fc7 7d9eaa43
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -850,9 +850,7 @@ final class ActivityStack {
                        prev.shortComponentName);
                prev.app.thread.schedulePauseActivity(prev.appToken, prev.finishing,
                        userLeaving, prev.configChangeFlags);
                if (mStackSupervisor.isFrontStack(this)) {
                mService.updateUsageStats(prev, false);
                }
            } catch (Exception e) {
                // Ignore exception, if process died other code will cleanup.
                Slog.w(TAG, "Exception thrown during pause", e);