commit | 4b9a4d16872bbb50712e007b419ac0b35ff1582d | [log] [tgz] |
---|---|---|
author | Svetoslav Ganov <svetoslavganov@google.com> | Tue Jun 11 15:20:06 2013 -0700 |
committer | Svetoslav Ganov <svetoslavganov@google.com> | Fri Jun 21 18:43:17 2013 -0700 |
tree | 5799cec302adb4db9311bd7a9a889cbd217553a5 | |
parent | 142dd91583f429db43017ada2497d0ecfdc2b392 [diff] [blame] |
Print - platform APIs Related changes: Skia (inlcude PDF APIs): https://googleplex-android-review.googlesource.com/#/c/305814/ Canvas to PDF: https://googleplex-android-review.googlesource.com/#/c/319367/ Settings (initial version): https://googleplex-android-review.googlesource.com/#/c/306077/ Build: https://googleplex-android-review.googlesource.com/#/c/292437/ Sample print services: https://googleplex-android-review.googlesource.com/#/c/281785/ Change-Id: I104d12efd12577f05c7b9b2a5e5e49125c0f09da
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index 55f2a32..acfc096 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java
@@ -63,6 +63,7 @@ import com.android.server.pm.UserManagerService; import com.android.server.power.PowerManagerService; import com.android.server.power.ShutdownThread; +import com.android.server.print.PrintManagerService; import com.android.server.search.SearchManagerService; import com.android.server.usb.UsbService; import com.android.server.wifi.WifiService; @@ -789,6 +790,14 @@ } catch (Throwable e) { reportWtf("starting IdleMaintenanceService", e); } + + try { + Slog.i(TAG, "Print Service"); + ServiceManager.addService(Context.PRINT_SERVICE, + new PrintManagerService(context)); + } catch (Throwable e) { + reportWtf("starting Print Service", e); + } } // Before things start rolling, be sure we have decided whether