summaryrefslogtreecommitdiff
path: root/android/AndroidManifest.xml
blob: 746a2490fbeb0a5cbd6687079e5dacb99b668c00 (plain)
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
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="org.musicpd"
          android:installLocation="auto"
          android:versionCode="49"
          android:versionName="0.21.26">

  <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="28"/>

  <uses-feature android:name="android.software.leanback"
                android:required="false" />
  <uses-feature android:name="android.hardware.touchscreen"
                android:required="false" />

  <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
  <uses-permission android:name="android.permission.WAKE_LOCK"/>
  <uses-permission android:name="android.permission.INTERNET"/>
  <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
  <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />

  <application android:allowBackup="true"
               android:icon="@drawable/icon"
               android:banner="@drawable/icon"
               android:label="@string/app_name">
    <activity android:name=".Settings"
              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=".Settings"
              android:label="@string/app_name" >
      <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
      </intent-filter>
    </activity>

    <receiver android:name=".Receiver">
      <intent-filter>
        <action android:name="android.intent.action.BOOT_COMPLETED" />
      </intent-filter>
    </receiver>
    <service android:name=".Main" android:process=":main"/>
  </application>

</manifest>