app/src/main/AndroidManifest.xml (2385 bytes)
1 <?xml version="1.0" encoding="utf-8"?> 2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"> 3 4 <!-- 5 Ink Update holds the internet permission so that the apps it watches do 6 not need it. Rebind has no internet permission, and it keeps none. 7 --> 8 <uses-permission android:name="android.permission.INTERNET" /> 9 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 10 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> 11 12 <!-- A persisted job needs this permission. The app has no receiver. --> 13 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 14 15 <!-- 16 From Android 11 an app sees only the packages it names. The app must see 17 the apps it watches, to read the installed version, and the two stores, 18 to open a page in them. 19 --> 20 <queries> 21 <package android:name="dev.equwal.assistkey" /> 22 <package android:name="dev.equwal.inkrecents" /> 23 <package android:name="dev.equwal.inkdim" /> 24 <package android:name="dev.equwal.inkupdate" /> 25 <package android:name="org.fdroid.fdroid" /> 26 <package android:name="com.android.vending" /> 27 </queries> 28 29 <application 30 android:allowBackup="true" 31 android:icon="@mipmap/ic_launcher" 32 android:label="@string/app_name" 33 android:supportsRtl="true" 34 android:theme="@style/Theme.App"> 35 36 <activity 37 android:name=".MainActivity" 38 android:exported="true" 39 android:label="@string/app_name" 40 android:launchMode="singleTask"> 41 <intent-filter> 42 <action android:name="android.intent.action.MAIN" /> 43 <category android:name="android.intent.category.LAUNCHER" /> 44 </intent-filter> 45 <!-- For Rebind, or any other app that asks for a check. --> 46 <intent-filter> 47 <action android:name="dev.equwal.inkupdate.CHECK" /> 48 <category android:name="android.intent.category.DEFAULT" /> 49 </intent-filter> 50 </activity> 51 52 <!-- The daily check. The system starts it. --> 53 <service 54 android:name=".CheckJob" 55 android:exported="false" 56 android:permission="android.permission.BIND_JOB_SERVICE" /> 57 58 </application> 59 60 </manifest>