Merge "Recents: Make sure blacklist checks the package name as well as activity name" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
10b2fee05f
@@ -334,8 +334,9 @@ public class SystemServicesProxy {
|
|||||||
// NOTE: The order of these checks happens in the expected order of the traversal of the
|
// NOTE: The order of these checks happens in the expected order of the traversal of the
|
||||||
// tasks
|
// tasks
|
||||||
|
|
||||||
// Remove the task if it is blacklisted
|
// Remove the task if it or it's package are blacklsited
|
||||||
if (sRecentsBlacklist.contains(t.realActivity.getClassName())) {
|
if (sRecentsBlacklist.contains(t.realActivity.getClassName()) ||
|
||||||
|
sRecentsBlacklist.contains(t.realActivity.getPackageName())) {
|
||||||
iter.remove();
|
iter.remove();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user