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
This commit is contained in:
@@ -63,6 +63,7 @@ import com.android.server.pm.PackageManagerService;
|
||||
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 @@ class ServerThread {
|
||||
} 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
|
||||
|
||||
Reference in New Issue
Block a user