~ubuntuone-client-engineering/ubuntu-sso-android-library/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.ubuntu.android.sso"
      android:versionCode="1"
      android:versionName="1.0">
    <uses-sdk
    	android:minSdkVersion="7" />
    
    <uses-permission
        android:name="android.permission.INTERNET" />
    <uses-permission
        android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission
        android:name="android.permission.USE_CREDENTIALS" />
    <uses-permission
        android:name="android.permission.MANAGE_ACCOUNTS" />
    <uses-permission
    	android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
    <uses-permission
    	android:name="android.permission.WRITE_SYNC_SETTINGS" />
    
    <application
    	android:debuggable="false"
    	android:label="@string/app_name" >
		<activity
			android:name="com.ubuntu.android.sso.activity.SSOLoginActivity"
			android:configChanges="orientation|keyboardHidden"
			android:launchMode="singleTop"
			android:theme="@style/Theme.Splash" >
		</activity>
		<activity
			android:name="com.ubuntu.android.sso.authenticator.AuthenticatorActivity"
			android:configChanges="orientation|keyboardHidden"
			android:launchMode="singleTop"
			android:theme="@android:style/Theme.Black" >
		</activity>
		<service
            android:name="com.ubuntu.android.sso.authenticator.AuthenticationService"
            android:exported="true" >
            <intent-filter>
                <action android:name="android.accounts.AccountAuthenticator" />
            </intent-filter>
            <meta-data
                android:name="android.accounts.AccountAuthenticator"
                android:resource="@xml/authenticator" />
        </service>
        <provider
    		android:name="com.ubuntu.android.sso.provider.FakeProvider"
            android:authorities="com.ubuntu.android.sso.fake" />
        <service
        	android:name="com.ubuntu.android.sso.syncadapter.SyncService"
        	android:exported="true" >
        	<intent-filter>
        		<action android:name="android.content.SyncAdapter" />
        	</intent-filter>
        	<meta-data android:name="android.content.SyncAdapter"
        		android:resource="@xml/sync_adapter" />
		</service>
    </application>
</manifest>