Whoops, actually exclude pre-HC apps.

Change-Id: I7266b3a622ae65f350bdb2a0eb6557b481a14365
This commit is contained in:
Dianne Hackborn
2011-01-22 13:00:12 -08:00
parent 4eba96bb31
commit 842e04b221

View File

@ -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();