Merge "PIP: Fix NPE when onboarding is shown" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
abe26c8d69
@@ -323,6 +323,7 @@ public class SystemServicesProxy {
|
|||||||
// Remove the task if it is blacklisted
|
// Remove the task if it is blacklisted
|
||||||
if (sRecentsBlacklist.contains(t.realActivity.getClassName())) {
|
if (sRecentsBlacklist.contains(t.realActivity.getClassName())) {
|
||||||
iter.remove();
|
iter.remove();
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove the task if it is marked as excluded, unless it is the first most task and we
|
// Remove the task if it is marked as excluded, unless it is the first most task and we
|
||||||
@@ -332,6 +333,7 @@ public class SystemServicesProxy {
|
|||||||
isExcluded |= quietProfileIds.contains(t.userId);
|
isExcluded |= quietProfileIds.contains(t.userId);
|
||||||
if (isExcluded && (!isFirstValidTask || !includeFrontMostExcludedTask)) {
|
if (isExcluded && (!isFirstValidTask || !includeFrontMostExcludedTask)) {
|
||||||
iter.remove();
|
iter.remove();
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
isFirstValidTask = false;
|
isFirstValidTask = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user