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

Commit 842e04b2 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Whoops, actually exclude pre-HC apps.

Change-Id: I7266b3a622ae65f350bdb2a0eb6557b481a14365
parent 4eba96bb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2628,12 +2628,12 @@ public final class ActivityThread {
        ActivityClientRecord r = mActivities.get(token);

        if (r == null) {
            Log.w(TAG, "handleWindowVisibility: no activity for token " + token);
            Log.w(TAG, "handleSleeping: no activity for token " + token);
            return;
        }

        if (sleeping) {
            if (!r.stopped) {
            if (!r.stopped && !r.isPreHoneycomb()) {
                try {
                    // Now we are idle.
                    r.activity.performStop();