<?xml version="1.0" encoding="utf-8"?><!--
  ~ Copyright (c) 2015 David Schulte
  ~
  ~ Permission is hereby granted, free of charge, to any person obtaining a copy
  ~ of this software and associated documentation files (the "Software"), to deal
  ~ in the Software without restriction, including without limitation the rights
  ~ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  ~ copies of the Software, and to permit persons to whom the Software is
  ~ furnished to do so, subject to the following conditions:
  ~
  ~ The above copyright notice and this permission notice shall be included in
  ~ all copies or substantial portions of the Software.
  ~
  ~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  ~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  ~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  ~ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  ~ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  ~ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  ~ THE SOFTWARE.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="re.jcg.playmusicexporter">

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

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <activity
            android:name=".activities.MusicContainerListActivity"
            android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".activities.MusicTrackListActivity"
            android:label="@string/title_track_detail"
            android:parentActivityName=".activities.MusicContainerListActivity">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value=".activities.MusicContainerListActivity" />
        </activity>
        <activity
            android:name=".activities.Intro"
            android:label="Play Music Exporter Intro"/>

        <service android:name=".services.ExportService" />
        <service android:name=".services.ExportAllService" />
        <service
            android:name=".services.ExportAllJob"
            android:permission="android.permission.BIND_JOB_SERVICE" />

        <meta-data
            android:name="crashhandler.email"
            android:value="mail@janchristiangruenhage.de" />
        <meta-data
            android:name="crashhandler.supporturl"
            android:value="https://jcg.re/" />

        <activity
            android:name=".activities.SettingsActivity"
            android:label="@string/title_settings"
            android:parentActivityName=".activities.MusicContainerListActivity">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="re.jcg.playmusicexporter.activities.MusicContainerListActivity" />
        </activity>
    </application>

</manifest>