Home | History | Annotate | Download | only in BuiltInPrintService
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2016 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 <manifest package="com.android.bips"
     17           xmlns:android="http://schemas.android.com/apk/res/android">
     18 
     19     <uses-feature android:name="android.hardware.wifi" android:required="false"/>
     20 
     21     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
     22     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
     23     <uses-permission android:name="android.permission.INTERNET" />
     24     <uses-permission android:name="android.permission.WAKE_LOCK" />
     25     <uses-permission android:name="android.permission.READ_PRINT_SERVICES" />
     26     <uses-permission android:name="android.permission.READ_PRINT_SERVICE_RECOMMENDATIONS" />
     27 
     28     <application 
     29         android:label="@string/app_name"
     30         android:icon="@drawable/ic_printservice"
     31         android:allowBackup="true"
     32         android:supportsRtl="true">
     33         <service android:name="com.android.bips.BuiltInPrintService"
     34                  android:permission="android.permission.BIND_PRINT_SERVICE">
     35             <intent-filter>
     36                 <action android:name="android.printservice.PrintService" />
     37             </intent-filter>
     38             <meta-data
     39                 android:name="android.printservice"
     40                 android:resource="@xml/printservice" />
     41         </service>
     42 
     43         <service android:name="com.android.bips.render.PdfRenderService"
     44                  android:exported="false"
     45                  android:isolatedProcess="true">
     46             <intent-filter>
     47                 <action android:name="com.android.bips.render.PdfRenderService" />
     48             </intent-filter>
     49         </service>
     50 
     51         <activity
     52             android:name="com.android.bips.ui.AddPrintersActivity"
     53             android:label="@string/title_activity_add_printer"
     54             android:theme="@android:style/Theme.DeviceDefault.Settings"
     55             android:excludeFromRecents="true"
     56             android:exported="true"
     57             android:configChanges="orientation|keyboardHidden|screenSize"
     58             android:permission="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY" />
     59     </application>
     60 </manifest>