blob: 2b641d1ce176c985b926c029ef52a3bcf3aff717 [file] [log] [blame]
Tejas Khoranafe23a442016-07-21 00:28:22 -07001<?xml version="1.0" encoding="utf-8"?>
2
3<!-- Copyright (C) 2016 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17
18<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19 package="com.example.android.pushapiauthenticator">
Dmitry Dementyevad67c432017-05-19 16:06:15 -070020 <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"/>
21 <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
22 <!-- Uses API introduced in O (26) -->
23 <uses-sdk android:minSdkVersion="1"
24 android:targetSdkVersion="26"/>
Tejas Khoranafe23a442016-07-21 00:28:22 -070025 <application android:label="Auth Tester" android:icon="@drawable/push">
26 <activity android:name="MainActivity">
27 <intent-filter>
28 <action android:name="android.intent.action.MAIN"/>
29 <category android:name="android.intent.category.LAUNCHER"/>
30 </intent-filter>
31 </activity>
Dmitry Dementyevb99e8db2016-12-22 12:50:37 -080032 <receiver android:name="com.example.android.pushapiauthenticator.MessageReceiver">
33 <intent-filter>
34 <action android:name="android.accounts.action.ACCOUNTS_LISTENER_PACKAGE_INSTALLED"/>
35 </intent-filter>
36 </receiver>
37
Tejas Khoranafe23a442016-07-21 00:28:22 -070038 <service
39 android:name=".MyAccountAuthenticatorService"
40 android:exported="true">
41 <intent-filter>
42 <action
43 android:name="android.accounts.AccountAuthenticator" />
44 </intent-filter>
45 <meta-data
46 android:name="android.accounts.AccountAuthenticator"
47 android:resource="@xml/authenticator" />
48 </service>
49 </application>
Dmitry Dementyevb99e8db2016-12-22 12:50:37 -080050</manifest>