summaryrefslogtreecommitdiffstats
path: root/packages/PrintSpooler/Android.mk
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2013-08-28 14:37:54 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2013-08-29 15:39:44 -0700
commitd26d4898fcc9b78f4b66118895c375384098205e (patch)
tree2cd9d5b5403013eaf0ea998960c6ae1c9b37bc53 /packages/PrintSpooler/Android.mk
parent7be3a138d57713bbe6d624998620081807e65b71 (diff)
downloadframeworks_base-d26d4898fcc9b78f4b66118895c375384098205e.zip
frameworks_base-d26d4898fcc9b78f4b66118895c375384098205e.tar.gz
frameworks_base-d26d4898fcc9b78f4b66118895c375384098205e.tar.bz2
Print spooler security and some new print service facing APIs.
1. Updated the security mode of the print spooler. Now the spooler is not signed with the system key, it is not a privileged app so if it gets compromised (PDF rendering is a potential attack vector) it cannot access dangerous permissions. Also only the system can bind to the spooler. 2. Added APIs for asking a print service to start and stop tracking a given printer. This is need for the case when the user selects the printer and the print service should do a best effort to keep the system updated for the current state of the printer. 3. Added APIs for putting a print job in a blocked state. A print service would report the print job as blocked if for some reason the printer cannot proceed, e.g. 99 pages are printed but there is no paper for the last one. The user has to add more paper and the print service can resume the job. 4. Changed the read/write APIs to use ParcelFileDescriptor instead of FileDescriptor since the latter does not have a clean API for detaching the wrapped Linux file descriptor when one wants to push it to native. 5. Added API for getting the size of the printed document so the print service can avoid handling big filed over cellular network or ask the user if needed. 6. Now the print services that are preinstalled on the system image are automatically enabled. Change-Id: Ia06c311d3d21cabb9e1368f13928e11cd0030918
Diffstat (limited to 'packages/PrintSpooler/Android.mk')
-rw-r--r--packages/PrintSpooler/Android.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/PrintSpooler/Android.mk b/packages/PrintSpooler/Android.mk
index 8ae0302..f65fe4b 100644
--- a/packages/PrintSpooler/Android.mk
+++ b/packages/PrintSpooler/Android.mk
@@ -24,8 +24,6 @@ LOCAL_PACKAGE_NAME := PrintSpooler
LOCAL_JAVA_LIBRARIES := framework-base
-LOCAL_CERTIFICATE := platform
-
LOCAL_PROGUARD_ENABLED := disabled
include $(BUILD_PACKAGE)