am f36af164: Merge "Whoops, actually exclude pre-HC apps." into honeycomb
* commit 'f36af16479e252bec168ed181885ec21d9df46f5': Whoops, actually exclude pre-HC apps.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user