Xml文件  |  104行  |  5.17 KB

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.android.providers.subscribedfeeds"
        android:sharedUserId="android.uid.system">

    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.USE_CREDENTIALS" />
    <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH" />
    <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.cp" />
    <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.cl" />
    <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.mail" />
    <uses-permission android:name="android.permission.BACKUP" />
    <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
    <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
    <uses-permission android:name="android.permission.READ_SYNC_STATS" />
    <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_READ" />
    <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE" />
    <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
    <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />

    <application android:process="system"
                 android:allowClearUserData="false"
                 android:icon="@drawable/app_icon"
                 android:label="@string/app_label">

        <uses-library android:name="com.google.android.gtalkservice" />

        <service android:name="SubscribedFeedsSyncAdapterService" android:exported="true">
            <intent-filter>
                <action android:name="android.content.SyncAdapter" />
            </intent-filter>
            <meta-data android:name="android.content.SyncAdapter"
                       android:resource="@xml/syncadapter" />
        </service>

        <activity android:name="com.android.settings.ManageAccountsSettings"
            android:label="@string/sync_settings">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="android.settings.SYNC_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

        <activity android:name="com.android.settings.AccountSyncSettings"
            android:label="@string/sync_settings"
            android:theme="@android:style/Theme.NoTitleBar">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="android.settings.ACCOUNT_SYNC_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        
        <activity android:name="com.android.settings.AccountSyncSettingsInAddAccount"
            android:label="@string/sync_settings"
            android:theme="@android:style/Theme.NoTitleBar">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="android.settings.ACCOUNT_SYNC_SETTINGS_ADD_ACCOUNT" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

        <activity android:name="com.android.settings.AddAccountSettings"
            android:label="@string/header_add_an_account">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="android.settings.ADD_ACCOUNT_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

        <activity android:name="com.android.settings.SyncActivityTooManyDeletes"
                  android:theme="@android:style/Theme.Dialog"
                  android:label="@string/sync_too_many_deletes">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

        <provider android:name="GoogleSubscribedFeedsProvider"
                android:authorities="subscribedfeeds"
                android:label="@string/provider_label"
                android:multiprocess="false"
                android:readPermission="android.permission.SUBSCRIBED_FEEDS_READ"
                android:writePermission="android.permission.SUBSCRIBED_FEEDS_WRITE" />

        <receiver android:name="SubscribedFeedsBroadcastReceiver">
            <intent-filter>
                <action android:name="android.intent.action.REMOTE_INTENT" />
                <category android:name="GSYNC_TICKLE"/>
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
            </intent-filter>
            <intent-filter>
                <action android:name="com.android.subscribedfeeds.action.REFRESH" />
            </intent-filter>
        </receiver>
        <service android:name="SubscribedFeedsIntentService"/>
    </application>
</manifest>