OLD | NEW |
---|---|
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2015 The Chromium Authors. All rights reserved. Use of this | 3 Copyright (c) 2015 The Chromium Authors. All rights reserved. Use of this |
4 source code is governed by a BSD-style license that can be found in the | 4 source code is governed by a BSD-style license that can be found in the |
5 LICENSE file. | 5 LICENSE file. |
6 --> | 6 --> |
7 <manifest xmlns:android="http://schemas.android.com/apk/res/android" | 7 <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
8 package="org.chromium.tools.spnegoauthenticator" > | 8 package="org.chromium.tools.spnegoauthenticator" > |
9 | 9 |
10 <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="23" /> | 10 <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="23" /> |
11 | 11 |
12 <!-- | |
13 Deprecated permissions. Normal protection level, autogranted. Needed | |
14 for API level 22 and before. | |
15 --> | |
12 <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" /> | 16 <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" /> |
13 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> | 17 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> |
14 | 18 |
15 <application | 19 <application |
16 android:allowBackup="true" | 20 android:allowBackup="true" |
17 android:icon="@mipmap/ic_launcher" | 21 android:icon="@mipmap/ic_launcher" |
18 android:label="@string/app_name" > | 22 android:label="@string/app_name" > |
19 <service | 23 <service |
20 android:name=".SpnegoAuthenticatorService" | 24 android:name=".SpnegoAuthenticatorService" |
21 android:exported="true" > | 25 android:exported="true" > |
22 <intent-filter> | 26 <intent-filter> |
23 <action android:name="android.accounts.AccountAuthenticator" /> | 27 <action android:name="android.accounts.AccountAuthenticator" /> |
24 </intent-filter> | 28 </intent-filter> |
25 | 29 |
26 <meta-data | 30 <meta-data |
27 android:name="android.accounts.AccountAuthenticator" | 31 android:name="android.accounts.AccountAuthenticator" |
28 android:resource="@xml/spnego_authenticator" /> | 32 android:resource="@xml/spnego_authenticator" /> |
dgn
2015/11/11 12:05:31
I tried to remove my code to show the notification
| |
29 </service> | 33 </service> |
34 | |
35 <!-- exported=true needed so that chrome can start the activity --> | |
36 <activity | |
37 android:exported="true" | |
38 android:label="@string/title_activity_account_authenticator" | |
39 android:name=".SpnegoAuthenticatorActivity" | |
40 android:noHistory="true"> | |
41 </activity> | |
30 </application> | 42 </application> |
31 | 43 |
32 </manifest> | 44 </manifest> |
OLD | NEW |