summaryrefslogtreecommitdiffstats
path: root/core/java/android/print/IPrintDocumentAdapter.aidl
diff options
context:
space:
mode:
authorSvet Ganov <svetoslavganov@google.com>2014-10-31 16:56:52 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2014-11-01 00:06:08 +0000
commitfce84f035c35606c5707e735f503f7bdcfd5b2a1 (patch)
treec1c7d85246023ab80c6f25df8e47e390f907ddfa /core/java/android/print/IPrintDocumentAdapter.aidl
parente1678ddf7a8311c79ccba5a6b6183f9484fa1f1f (diff)
downloadframeworks_base-fce84f035c35606c5707e735f503f7bdcfd5b2a1.zip
frameworks_base-fce84f035c35606c5707e735f503f7bdcfd5b2a1.tar.gz
frameworks_base-fce84f035c35606c5707e735f503f7bdcfd5b2a1.tar.bz2
Crash apps that print malformed or password protected PDFs.
If apps are writing malformed content (typically not a PDF file) or if the PDF content they provide to the print system is password protected, are now crashed as both of these are app bugs. bug:17636435 Change-Id: Ifce6a3199e587448dd38f6a84290a965c24b698b
Diffstat (limited to 'core/java/android/print/IPrintDocumentAdapter.aidl')
-rw-r--r--core/java/android/print/IPrintDocumentAdapter.aidl1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/print/IPrintDocumentAdapter.aidl b/core/java/android/print/IPrintDocumentAdapter.aidl
index 9d384fb..8f33e0b 100644
--- a/core/java/android/print/IPrintDocumentAdapter.aidl
+++ b/core/java/android/print/IPrintDocumentAdapter.aidl
@@ -37,4 +37,5 @@ oneway interface IPrintDocumentAdapter {
void write(in PageRange[] pages, in ParcelFileDescriptor fd,
IWriteResultCallback callback, int sequence);
void finish();
+ void kill(String reason);
}