Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3813fc32 authored by Sid Soundararajan's avatar Sid Soundararajan Committed by android-build-merger
Browse files

Merge \\\"Recents: Make sure blacklist checks the package name as well as...

Merge \\\"Recents: Make sure blacklist checks the package name as well as activity name\\\" into nyc-dev am: 10b2fee0 am: aea3d63f
am: df66e8e2

Change-Id: Ibbaa3f7d7e6bc6c513bc162d9270d1bbf498a474
parents 071ba223 df66e8e2
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -335,8 +335,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;
            }