Merge "Do not generate watchlist test report in production config" into pi-dev
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user