OSDN Git Service

Offer to enable a print service after it is installed.
authorSvetoslav <svetoslavganov@google.com>
Fri, 20 Sep 2013 23:25:52 +0000 (16:25 -0700)
committerSvetoslav <svetoslavganov@google.com>
Sat, 21 Sep 2013 00:40:25 +0000 (17:40 -0700)
commitd8f391b4e0e8d876ec7216d34f86a9b3e8bab7e5
treecdee4f705fd859ef54c1c286b2896192287f50bb
parent5006eb75e6d42ac107734fa8134a726158d768d8
Offer to enable a print service after it is installed.

The user has to explicitly enable a print service from the settings UI
before using it. Usually, users very rarely if at all interact with print
services, therefore all print service management task are performed from
the print settings. We also have to get user consent warning that the
user's data is about to be given to a third-party app. We now post a
notification allowing the user to go directly to the settings screen to
turn the service on.

bug:10447510

Change-Id: Iea56c0825f0bf38328ad94912f0ea5576e9339b3
api/current.txt
core/java/android/print/PrintAttributes.java
core/res/res/drawable-hdpi/ic_print.png [moved from packages/PrintSpooler/res/drawable-hdpi/stat_notify_print.png with 100% similarity]
core/res/res/drawable-mdpi/ic_print.png [moved from packages/PrintSpooler/res/drawable-mdpi/stat_notify_print.png with 100% similarity]
core/res/res/drawable-xhdpi/ic_print.png [moved from packages/PrintSpooler/res/drawable-xhdpi/stat_notify_print.png with 100% similarity]
core/res/res/values/strings.xml
core/res/res/values/symbols.xml
packages/PrintSpooler/src/com/android/printspooler/NotificationController.java
services/java/com/android/server/print/PrintManagerService.java