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

* commit 'f36af16479e252bec168ed181885ec21d9df46f5':
  Whoops, actually exclude pre-HC apps.
This commit is contained in:
Dianne Hackborn
2011-01-22 13:09:01 -08:00
committed by Android Git Automerger

View File

@@ -2664,12 +2664,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();