am 913f87ef: Merge "IndexOutOfBoundsException in the PrintSpoolerService dump." into klp-dev
* commit '913f87ef637fc1d9a006c543833b6815090b94e8': IndexOutOfBoundsException in the PrintSpoolerService dump.
This commit is contained in:
@@ -236,7 +236,7 @@ public final class PrintSpoolerService extends Service {
|
||||
@Override
|
||||
protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) {
|
||||
synchronized (mLock) {
|
||||
String prefix = args[0];
|
||||
String prefix = (args.length > 0) ? args[0] : "";
|
||||
String tab = " ";
|
||||
|
||||
pw.append(prefix).append("print jobs:").println();
|
||||
|
||||
Reference in New Issue
Block a user