• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.CHANGE_WIFI_MULTICAST_STATE" />
24    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
25    <uses-permission android:name="android.permission.INTERNET" />
26    <uses-permission android:name="android.permission.WAKE_LOCK" />
27    <uses-permission android:name="android.permission.READ_PRINT_SERVICES" />
28    <uses-permission android:name="android.permission.READ_PRINT_SERVICE_RECOMMENDATIONS" />
29    <uses-permission android:name="android.permission.SUBSTITUTE_SHARE_TARGET_APP_NAME_AND_ICON" />
30    <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
31    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
32
33    <application
34        android:label="@string/app_name"
35        android:icon="@drawable/ic_printservice"
36        android:allowBackup="true"
37        android:supportsRtl="true">
38        <service android:name="com.android.bips.BuiltInPrintService"
39                 android:exported="true"
40                 android:permission="android.permission.BIND_PRINT_SERVICE">
41            <intent-filter>
42                <action android:name="android.printservice.PrintService" />
43            </intent-filter>
44            <meta-data
45                android:name="android.printservice"
46                android:resource="@xml/printservice" />
47        </service>
48
49        <service android:name="com.android.bips.render.PdfRenderService"
50                 android:exported="false"
51                 android:isolatedProcess="true">
52            <intent-filter>
53                <action android:name="com.android.bips.render.PdfRenderService" />
54            </intent-filter>
55        </service>
56
57        <activity
58            android:name="com.android.bips.ui.MoreOptionsActivity"
59            android:theme="@android:style/Theme.DeviceDefault.Settings"
60            android:configChanges="orientation|screenSize"
61            android:exported="true"
62            android:permission="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY" />
63
64        <activity
65            android:name="com.android.bips.ui.AddPrintersActivity"
66            android:label="@string/title_activity_add_printer"
67            android:theme="@android:style/Theme.DeviceDefault.Settings"
68            android:excludeFromRecents="true"
69            android:exported="true"
70            android:configChanges="orientation|keyboardHidden|screenSize"
71            android:permission="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY" />
72
73        <activity
74            android:name="com.android.bips.ImagePrintActivity"
75            android:label="@string/print"
76            android:theme="@android:style/Theme.Translucent.NoTitleBar"
77            android:exported="true"
78            android:configChanges="keyboardHidden|orientation|screenSize">
79            <intent-filter>
80                <action android:name="android.intent.action.SEND" />
81                <category android:name="android.intent.category.DEFAULT" />
82                <data android:mimeType="image/*" />
83            </intent-filter>
84        </activity>
85
86        <activity
87            android:name="com.android.bips.PdfPrintActivity"
88            android:label="@string/print"
89            android:theme="@android:style/Theme.Translucent.NoTitleBar"
90            android:exported="true"
91            android:configChanges="keyboardHidden|orientation|screenSize">
92            <intent-filter>
93                <action android:name="android.intent.action.SEND" />
94                <category android:name="android.intent.category.DEFAULT" />
95                <data android:mimeType="application/pdf" />
96            </intent-filter>
97        </activity>
98    </application>
99</manifest>
100