summaryrefslogtreecommitdiffstats
path: root/core/java/android/print/IPrinterDiscoveryObserver.aidl
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2013-09-03 14:01:43 -0700
committerSvetoslav <svetoslavganov@google.com>2013-09-04 21:06:12 -0700
commit773f54de3de9bce7b6f915aa47ed686b161d77aa (patch)
treef5849053ebf63d993ff9e3c629b1f8df6e95f4b9 /core/java/android/print/IPrinterDiscoveryObserver.aidl
parentad0ec16fbe27e69e22b90ad9f1b9e322d8c20e8d (diff)
downloadframeworks_base-773f54de3de9bce7b6f915aa47ed686b161d77aa.zip
frameworks_base-773f54de3de9bce7b6f915aa47ed686b161d77aa.tar.gz
frameworks_base-773f54de3de9bce7b6f915aa47ed686b161d77aa.tar.bz2
Print API updated.
1. Removed the updatePrinters API on PrinterDiscoverySession. Now re-adding a printer updates it. 2. Added getTrackedPrinters() API to allow a print service to figure out which printers' state should be tracked by the service. 3. Removed the APIs on PrintDocumentInfo that describe the layout of the content as they are not needed. For example, if the print attributes passed in layout require landscape mode, the the app should just create a PDF page with the wider side up and draw its content in portrait. The printer will then rotate the page. Change-Id: Idd72c6e9c129e8b17eef1236573a99773f8ff0a2
Diffstat (limited to 'core/java/android/print/IPrinterDiscoveryObserver.aidl')
-rw-r--r--core/java/android/print/IPrinterDiscoveryObserver.aidl1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/java/android/print/IPrinterDiscoveryObserver.aidl b/core/java/android/print/IPrinterDiscoveryObserver.aidl
index 625f383..71198f7 100644
--- a/core/java/android/print/IPrinterDiscoveryObserver.aidl
+++ b/core/java/android/print/IPrinterDiscoveryObserver.aidl
@@ -28,5 +28,4 @@ import android.print.PrinterInfo;
oneway interface IPrinterDiscoveryObserver {
void onPrintersAdded(in List<PrinterInfo> printers);
void onPrintersRemoved(in List<PrinterId> printerIds);
- void onPrintersUpdated(in List<PrinterInfo> printerIds);
}