1*d57664e9SAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?> 2*d57664e9SAndroid Build Coastguard Worker<!-- 3*d57664e9SAndroid Build Coastguard Worker/* 4*d57664e9SAndroid Build Coastguard Worker * Copyright (c) 2013 Google Inc. 5*d57664e9SAndroid Build Coastguard Worker * 6*d57664e9SAndroid Build Coastguard Worker * Licensed under the Apache License, Version 2.0 (the "License"); 7*d57664e9SAndroid Build Coastguard Worker * you may not use this file except in compliance with the License. 8*d57664e9SAndroid Build Coastguard Worker * You may obtain a copy of the License at 9*d57664e9SAndroid Build Coastguard Worker * 10*d57664e9SAndroid Build Coastguard Worker * http://www.apache.org/licenses/LICENSE-2.0 11*d57664e9SAndroid Build Coastguard Worker * 12*d57664e9SAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software 13*d57664e9SAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS, 14*d57664e9SAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15*d57664e9SAndroid Build Coastguard Worker * See the License for the specific language governing permissions and 16*d57664e9SAndroid Build Coastguard Worker * limitations under the License. 17*d57664e9SAndroid Build Coastguard Worker */ 18*d57664e9SAndroid Build Coastguard Worker--> 19*d57664e9SAndroid Build Coastguard Worker<manifest xmlns:android="http://schemas.android.com/apk/res/android" 20*d57664e9SAndroid Build Coastguard Worker package="com.android.printspooler"> 21*d57664e9SAndroid Build Coastguard Worker 22*d57664e9SAndroid Build Coastguard Worker <!-- Allows an application to call APIs that give it access to all print jobs 23*d57664e9SAndroid Build Coastguard Worker on the device. Usually an app can access only the print jobs it created. --> 24*d57664e9SAndroid Build Coastguard Worker <permission 25*d57664e9SAndroid Build Coastguard Worker android:name="com.android.printspooler.permission.ACCESS_ALL_PRINT_JOBS" 26*d57664e9SAndroid Build Coastguard Worker android:protectionLevel="signature" /> 27*d57664e9SAndroid Build Coastguard Worker 28*d57664e9SAndroid Build Coastguard Worker <!-- May be required by the settings and add printer activities of a 29*d57664e9SAndroid Build Coastguard Worker print service if the developer wants only trusted system code to 30*d57664e9SAndroid Build Coastguard Worker be able to launch these activities. --> 31*d57664e9SAndroid Build Coastguard Worker <permission android:name="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY" 32*d57664e9SAndroid Build Coastguard Worker android:protectionLevel="signature" /> 33*d57664e9SAndroid Build Coastguard Worker 34*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="com.android.printspooler.permission.ACCESS_ALL_PRINT_JOBS"/> 35*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.WAKE_LOCK"/> 36*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY"/> 37*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.READ_PRINT_SERVICES" /> 38*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.READ_PRINT_SERVICE_RECOMMENDATIONS" /> 39*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> 40*d57664e9SAndroid Build Coastguard Worker 41*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> 42*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> 43*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> 44*d57664e9SAndroid Build Coastguard Worker 45*d57664e9SAndroid Build Coastguard Worker <application 46*d57664e9SAndroid Build Coastguard Worker android:allowClearUserData="true" 47*d57664e9SAndroid Build Coastguard Worker android:label="@string/app_label" 48*d57664e9SAndroid Build Coastguard Worker android:icon="@drawable/ic_app_icon" 49*d57664e9SAndroid Build Coastguard Worker android:supportsRtl="true"> 50*d57664e9SAndroid Build Coastguard Worker 51*d57664e9SAndroid Build Coastguard Worker <service 52*d57664e9SAndroid Build Coastguard Worker android:name=".model.PrintSpoolerService" 53*d57664e9SAndroid Build Coastguard Worker android:exported="true" 54*d57664e9SAndroid Build Coastguard Worker android:permission="android.permission.BIND_PRINT_SPOOLER_SERVICE"> 55*d57664e9SAndroid Build Coastguard Worker </service> 56*d57664e9SAndroid Build Coastguard Worker 57*d57664e9SAndroid Build Coastguard Worker <service 58*d57664e9SAndroid Build Coastguard Worker android:name=".renderer.PdfManipulationService" 59*d57664e9SAndroid Build Coastguard Worker android:isolatedProcess="true" 60*d57664e9SAndroid Build Coastguard Worker android:process=":renderer"> 61*d57664e9SAndroid Build Coastguard Worker </service> 62*d57664e9SAndroid Build Coastguard Worker 63*d57664e9SAndroid Build Coastguard Worker <activity 64*d57664e9SAndroid Build Coastguard Worker android:name=".ui.PrintActivity" 65*d57664e9SAndroid Build Coastguard Worker android:configChanges="mnc|mnc|touchscreen|navigation|screenLayout|screenSize|smallestScreenSize|orientation|locale|keyboard|keyboardHidden|fontScale|uiMode|layoutDirection|density" 66*d57664e9SAndroid Build Coastguard Worker android:permission="android.permission.BIND_PRINT_SPOOLER_SERVICE" 67*d57664e9SAndroid Build Coastguard Worker android:theme="@style/Theme.PrintActivity" 68*d57664e9SAndroid Build Coastguard Worker android:enableOnBackInvokedCallback="true" 69*d57664e9SAndroid Build Coastguard Worker android:exported="true"> 70*d57664e9SAndroid Build Coastguard Worker <intent-filter> 71*d57664e9SAndroid Build Coastguard Worker <action android:name="android.print.PRINT_DIALOG" /> 72*d57664e9SAndroid Build Coastguard Worker <category android:name="android.intent.category.DEFAULT" /> 73*d57664e9SAndroid Build Coastguard Worker <data android:scheme="printjob" android:pathPattern="*" /> 74*d57664e9SAndroid Build Coastguard Worker </intent-filter> 75*d57664e9SAndroid Build Coastguard Worker </activity> 76*d57664e9SAndroid Build Coastguard Worker 77*d57664e9SAndroid Build Coastguard Worker <activity 78*d57664e9SAndroid Build Coastguard Worker android:name=".ui.SelectPrinterActivity" 79*d57664e9SAndroid Build Coastguard Worker android:label="@string/all_printers_label" 80*d57664e9SAndroid Build Coastguard Worker android:theme="@style/Theme.SelectPrinterActivity" 81*d57664e9SAndroid Build Coastguard Worker android:parentActivityName=".ui.PrintActivity" 82*d57664e9SAndroid Build Coastguard Worker android:exported="false"> 83*d57664e9SAndroid Build Coastguard Worker </activity> 84*d57664e9SAndroid Build Coastguard Worker 85*d57664e9SAndroid Build Coastguard Worker <activity 86*d57664e9SAndroid Build Coastguard Worker android:name=".ui.AddPrinterActivity" 87*d57664e9SAndroid Build Coastguard Worker android:label="@string/print_add_printer" 88*d57664e9SAndroid Build Coastguard Worker android:theme="@style/Theme.AddPrinterActivity" 89*d57664e9SAndroid Build Coastguard Worker android:parentActivityName=".ui.SelectPrinterActivity" 90*d57664e9SAndroid Build Coastguard Worker android:exported="false"> 91*d57664e9SAndroid Build Coastguard Worker </activity> 92*d57664e9SAndroid Build Coastguard Worker 93*d57664e9SAndroid Build Coastguard Worker <receiver 94*d57664e9SAndroid Build Coastguard Worker android:name=".model.NotificationController$NotificationBroadcastReceiver" 95*d57664e9SAndroid Build Coastguard Worker android:exported="false" > 96*d57664e9SAndroid Build Coastguard Worker </receiver> 97*d57664e9SAndroid Build Coastguard Worker 98*d57664e9SAndroid Build Coastguard Worker </application> 99*d57664e9SAndroid Build Coastguard Worker 100*d57664e9SAndroid Build Coastguard Worker</manifest> 101