Whoops, actually exclude pre-HC apps.
Change-Id: I7266b3a622ae65f350bdb2a0eb6557b481a14365
diff --git a/core/java/android/app/ActivityThread.java b/core/java/android/app/ActivityThread.java
index e400a1f..511ddc1 100644
--- a/core/java/android/app/ActivityThread.java
+++ b/core/java/android/app/ActivityThread.java
@@ -2628,12 +2628,12 @@
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();