Merge \"Recents: Make sure blacklist checks the package name as well as activity name\" into nyc-dev

am: 10b2fee05f

Change-Id: If4ddf850d2be037d50a7aa3ddbce040c7ad4b7cd
This commit is contained in:
Sid Soundararajan
2016-06-29 20:13:54 +00:00
committed by android-build-merger

View File

@@ -334,8 +334,9 @@ public class SystemServicesProxy {
// NOTE: The order of these checks happens in the expected order of the traversal of the
// tasks
// Remove the task if it is blacklisted
if (sRecentsBlacklist.contains(t.realActivity.getClassName())) {
// Remove the task if it or it's package are blacklsited
if (sRecentsBlacklist.contains(t.realActivity.getClassName()) ||
sRecentsBlacklist.contains(t.realActivity.getPackageName())) {
iter.remove();
continue;
}