OSDN Git Service

IndexOutOfBoundsException in the PrintSpoolerService dump.
authorSvetoslav <svetoslavganov@google.com>
Wed, 2 Oct 2013 19:40:14 +0000 (12:40 -0700)
committerSvetoslav <svetoslavganov@google.com>
Wed, 2 Oct 2013 19:40:18 +0000 (12:40 -0700)
commitb67a637e60c356ab520050b2bd09a95ae47f3017
tree87c8eb4593a3f25a88e58faa48a6055b1b7bddf9
parent93cb8f6b78079f10836377e825c7f7b63b8e7c21
IndexOutOfBoundsException in the PrintSpoolerService dump.

The dump code in PrintSpoolerService was relying on being
called only as a result of "adb shell dumpsys print" which
is apparently wrong. As a result the code was making wrong
assumption about the input arguments.

bug:11046234

Change-Id: Ie38f3cc5f17cac98b808fef6d6bbeaca22a62ef0
packages/PrintSpooler/src/com/android/printspooler/PrintSpoolerService.java