OSDN Git Service

Coalescing multiple print job notifications.
authorSvetoslav Ganov <svetoslavganov@google.com>
Thu, 10 Oct 2013 05:55:49 +0000 (22:55 -0700)
committerSvetoslav Ganov <svetoslavganov@google.com>
Thu, 10 Oct 2013 06:43:11 +0000 (23:43 -0700)
commita18661d5922e5ae24ccce8e815aeba437a2fba82
treef751ce8b350407b948951d4f9ee98dab311175c9
parent5bd70c5eb3ccb5d1eed3f1f7e924a4fb96b0a053
Coalescing multiple print job notifications.

1. We used to show a single notificaiton for every print job but
   this is against th UX guidelines. Since we have to lead by
   example, this change adds coalescing of multiple notifications.

bug:11155212

2. Print job state callback in the PrintManager now correctly
   invoked on the main thread.

bug:10983508

Change-Id: I906e9e62198fa37cb4d2f71fce07ed475d61e1bd
core/java/android/print/IPrintSpooler.aidl
core/java/android/print/PrintJobInfo.java
core/java/android/print/PrintManager.java
packages/PrintSpooler/res/values/strings.xml
packages/PrintSpooler/src/com/android/printspooler/NotificationController.java
packages/PrintSpooler/src/com/android/printspooler/PrintSpoolerService.java
services/java/com/android/server/print/RemotePrintSpooler.java
services/java/com/android/server/print/UserState.java