Merge "Whoops, actually exclude pre-HC apps." into honeycomb

This commit is contained in:
Dianne Hackborn
2011-01-22 13:06:48 -08:00
committed by Android (Google) Code Review

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