commit | 91c5066c0036b5322f53c35fcc48bbad75ef4305 | [log] [tgz] |
---|---|---|
author | Jaewan Kim <jaewan@google.com> | Fri May 13 16:18:49 2016 +0900 |
committer | Jaewan Kim <jaewan@google.com> | Fri May 13 16:18:49 2016 +0900 |
tree | 17ab965ee833fe5e8d14d5f98e9266333f761753 | |
parent | 02a71e6eebcaf58bdbe4966fc315054d97ad7750 [diff] |
PIP: Fix NPE when onboarding is shown Bug: 28754669 Change-Id: Ifca78e111b63422c3875dc4eba48c02e11f83530
diff --git a/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java b/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java index 62c1945..0b74e31 100644 --- a/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java +++ b/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
@@ -323,6 +323,7 @@ // Remove the task if it is blacklisted if (sRecentsBlacklist.contains(t.realActivity.getClassName())) { iter.remove(); + continue; } // Remove the task if it is marked as excluded, unless it is the first most task and we @@ -332,6 +333,7 @@ isExcluded |= quietProfileIds.contains(t.userId); if (isExcluded && (!isFirstValidTask || !includeFrontMostExcludedTask)) { iter.remove(); + continue; } isFirstValidTask = false;