diff options
| author | Svetoslav <svetoslavganov@google.com> | 2013-07-17 14:52:35 -0700 | 
|---|---|---|
| committer | Svetoslav <svetoslavganov@google.com> | 2013-07-17 14:55:15 -0700 | 
| commit | 6283608e0bd40548742839f5a8b02f7e5c9c5c7c (patch) | |
| tree | 77dac4aaf04f2b2727289d2ee4bfefe06322e32e /core/java/android/print/IPrintDocumentAdapter.aidl | |
| parent | 17b7f6e6d4ec9f5e9597bfd283f1c017b6c66275 (diff) | |
| download | frameworks_base-6283608e0bd40548742839f5a8b02f7e5c9c5c7c.zip frameworks_base-6283608e0bd40548742839f5a8b02f7e5c9c5c7c.tar.gz frameworks_base-6283608e0bd40548742839f5a8b02f7e5c9c5c7c.tar.bz2  | |
Tweak the print APIs.
1. Adding bundle with metadata to PrintDocumentAdapter#onLayout
   with one key for now to specify whether this is for a preview.
2. Cleaned up docs.
Change-Id: I89380781bf3ae41aa89f8a0347d74516a210394c
Diffstat (limited to 'core/java/android/print/IPrintDocumentAdapter.aidl')
| -rw-r--r-- | core/java/android/print/IPrintDocumentAdapter.aidl | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/print/IPrintDocumentAdapter.aidl b/core/java/android/print/IPrintDocumentAdapter.aidl index 36938e3..04da157 100644 --- a/core/java/android/print/IPrintDocumentAdapter.aidl +++ b/core/java/android/print/IPrintDocumentAdapter.aidl @@ -16,6 +16,7 @@  package android.print; +import android.os.Bundle;  import android.os.ParcelFileDescriptor;  import android.print.ILayoutResultCallback;  import android.print.IWriteResultCallback; @@ -30,7 +31,7 @@ import android.print.PrintAttributes;  oneway interface IPrintDocumentAdapter {      void start();      void layout(in PrintAttributes oldAttributes, in PrintAttributes newAttributes, -            ILayoutResultCallback callback); +            ILayoutResultCallback callback, in Bundle metadata);      void write(in List<PageRange> pages, in ParcelFileDescriptor fd,              IWriteResultCallback callback);      void finish();  | 
