Merge "Do not generate watchlist test report in production config" into pi-dev

am: 627596f6a5

Change-Id: Id4a5a9ba98b1d48f77190381ad90cd77f783d04d
This commit is contained in:
Ricky Wai
2018-04-10 10:28:31 -07:00
committed by android-build-merger

View File

@@ -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;
}