diff options
author | Philip P. Moltmann <moltmann@google.com> | 2020-03-03 16:29:31 -0800 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2020-03-04 16:37:30 +0000 |
commit | 31b0c7e978fae0bcfb3d63d8cfe0e93672887bc2 (patch) | |
tree | 82f2880b3c211a701bca6348effcf89bacaa0c36 | |
parent | c9611acb621254df51c3771033fd706a58d7e282 (diff) |
Allow PrintSpooler to see PrintServices
the print spooler is the print preview UI. It communicates with the
PrintServices (== printer drivers) through the system server. In some
cases (such as for icons) it communicates directly. Hence the
PrintSpooler needs to be able to see the PrintServices.
Test: Looked at UI and saw icons
Fixes: 149403662
Change-Id: I94d26439ca2586f1c45712647d838c3211652a8a
-rw-r--r-- | packages/PrintSpooler/AndroidManifest.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/PrintSpooler/AndroidManifest.xml b/packages/PrintSpooler/AndroidManifest.xml index cd6abb267e44..e47aa054788d 100644 --- a/packages/PrintSpooler/AndroidManifest.xml +++ b/packages/PrintSpooler/AndroidManifest.xml @@ -40,6 +40,12 @@ <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> + <queries> + <intent> + <action android:name="android.printservice.PrintService" /> + </intent> + </queries> + <application android:allowClearUserData="true" android:label="@string/app_label" |