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

Commit 96f4a715 authored by Ricky Wai's avatar Ricky Wai
Browse files

Do not generate watchlist test report in production config

Test: atest com.google.android.watchlist.gts.NetworkWatchlistTest
Bug: 76102046
Change-Id: I676fbb75b9b48157e4558a2e3eb7fd4efc02f1fc
parent 1bc47a4c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ class NetworkWatchlistShellCommand extends ShellCommand {
        final long ident = Binder.clearCallingIdentity();
        try {
            // Reset last report time
            if (!WatchlistConfig.getInstance().isConfigSecure()) {
            if (WatchlistConfig.getInstance().isConfigSecure()) {
                pw.println("Error: Cannot force generate report under production config");
                return -1;
            }