Merge "Fix NullPointer Exception in testharness command"

This commit is contained in:
Treehugger Robot
2021-04-26 22:46:57 +00:00
committed by Gerrit Code Review

View File

@@ -286,6 +286,9 @@ public class TestHarnessModeService extends SystemService {
private class TestHarnessModeShellCommand extends ShellCommand {
@Override
public int onCommand(String cmd) {
if (cmd == null) {
return handleDefaultCommands(cmd);
}
switch (cmd) {
case "enable":
case "restore":