summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2018-05-15 04:58:00 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-05-15 04:58:00 +0000
commitcc64fb9c8f441d18f611643d8dc212b8dfe0c081 (patch)
tree94bc46b4720440ee76624b583fb6ddca14ce54a2 /core/java
parent09a0c2d53cd4b9072decae5d641957b88795d2b8 (diff)
parentb3baaab4af7e1ed8dfc5da1c976cc34d135fb82b (diff)
Merge "Allow Print subsystem to work with services provided by instant app" into pi-dev
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/print/IPrintManager.aidl17
1 files changed, 17 insertions, 0 deletions
diff --git a/core/java/android/print/IPrintManager.aidl b/core/java/android/print/IPrintManager.aidl
index d7c267b5ca63..d3d38744a1a9 100644
--- a/core/java/android/print/IPrintManager.aidl
+++ b/core/java/android/print/IPrintManager.aidl
@@ -143,4 +143,21 @@ interface IPrintManager {
void stopPrinterStateTracking(in PrinterId printerId, int userId);
void destroyPrinterDiscoverySession(in IPrinterDiscoveryObserver observer,
int userId);
+
+ /**
+ * Check if the system will bind to print services in intant app.
+ *
+ * @param userId the Id of the user the behavior should be checked for
+ *
+ * @return {@code true} iff the system will bind to print services in instant apps.
+ */
+ boolean getBindInstantServiceAllowed(int userId);
+
+ /**
+ * Set if the system will bind to print services in intant app.
+ *
+ * @param userId the Id of the user the behavior should be changed for
+ * @param allows iff {@code true} the system will bind to print services in instant apps
+ */
+ void setBindInstantServiceAllowed(int userId, boolean allowed);
}