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);
|
ActivityClientRecord r = mActivities.get(token);
|
||||||
|
|
||||||
if (r == null) {
|
if (r == null) {
|
||||||
Log.w(TAG, "handleWindowVisibility: no activity for token " + token);
|
Log.w(TAG, "handleSleeping: no activity for token " + token);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sleeping) {
|
if (sleeping) {
|
||||||
if (!r.stopped) {
|
if (!r.stopped && !r.isPreHoneycomb()) {
|
||||||
try {
|
try {
|
||||||
// Now we are idle.
|
// Now we are idle.
|
||||||
r.activity.performStop();
|
r.activity.performStop();
|
||||||
|
|||||||
Reference in New Issue
Block a user