Loading services/core/java/com/android/server/job/JobSchedulerShellCommand.java +42 −37 Original line number Diff line number Diff line Loading @@ -109,6 +109,8 @@ public class JobSchedulerShellCommand extends ShellCommand { final String pkgName = getNextArgRequired(); final int jobId = Integer.parseInt(getNextArgRequired()); final long ident = Binder.clearCallingIdentity(); try { int ret = mInternal.executeRunCommand(pkgName, userId, jobId, force); switch (ret) { case CMD_ERR_NO_PACKAGE: Loading Loading @@ -147,6 +149,9 @@ public class JobSchedulerShellCommand extends ShellCommand { break; } return ret; } finally { Binder.restoreCallingIdentity(ident); } } private int runMonitorBattery(PrintWriter pw) throws Exception { Loading Loading
services/core/java/com/android/server/job/JobSchedulerShellCommand.java +42 −37 Original line number Diff line number Diff line Loading @@ -109,6 +109,8 @@ public class JobSchedulerShellCommand extends ShellCommand { final String pkgName = getNextArgRequired(); final int jobId = Integer.parseInt(getNextArgRequired()); final long ident = Binder.clearCallingIdentity(); try { int ret = mInternal.executeRunCommand(pkgName, userId, jobId, force); switch (ret) { case CMD_ERR_NO_PACKAGE: Loading Loading @@ -147,6 +149,9 @@ public class JobSchedulerShellCommand extends ShellCommand { break; } return ret; } finally { Binder.restoreCallingIdentity(ident); } } private int runMonitorBattery(PrintWriter pw) throws Exception { Loading