<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="eu.kanade.mangafeed" >

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />

    <application
        android:name=".App"
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:hardwareAccelerated="true"
        android:theme="@style/AppTheme" >
        <activity
            android:name=".ui.main.MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ui.manga.MangaActivity"
            android:parentActivityName=".ui.main.MainActivity" >
        </activity>
        <activity
            android:name=".ui.reader.ReaderActivity"
            android:parentActivityName=".ui.manga.MangaActivity">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value=".ui.manga.MangaActivity" />
        </activity>
        <activity
            android:name=".ui.setting.SettingsActivity"
            android:label="@string/label_settings"
            android:parentActivityName=".ui.main.MainActivity" >
        </activity>
        <activity
            android:name=".ui.library.category.CategoryActivity"
            android:label="@string/label_categories"
            android:parentActivityName=".ui.main.MainActivity">
        </activity>

        <activity
            android:name=".ui.setting.SettingsDownloadsFragment$CustomLayoutPickerActivity"
            android:label="@string/app_name"
            android:theme="@style/FilePickerTheme">
        </activity>

        <service android:name=".data.sync.LibraryUpdateService"
            android:exported="false"/>

        <service android:name=".data.download.DownloadService"
            android:exported="false"/>

        <service android:name=".data.sync.UpdateMangaSyncService"
            android:exported="false"/>

        <receiver
            android:name=".data.sync.LibraryUpdateService$SyncOnConnectionAvailable"
            android:enabled="false">
            <intent-filter>
                <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
            </intent-filter>
        </receiver>

        <meta-data
            android:name="eu.kanade.mangafeed.data.cache.CoverGlideModule"
            android:value="GlideModule" />

    </application>

</manifest>