Solved installed apps check for Android 11 and higher

This commit is contained in:
massi 2022-10-29 09:09:46 +02:00
parent 6587ec084d
commit f8c86d66f7
3 changed files with 16 additions and 4 deletions

View File

@ -1,12 +1,16 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> <manifest xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
tools:ignore="ScopedStorage" />
<uses-permission android:name="android.permission.CAMERA" /> <uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" /> <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"
tools:ignore="QueryAllPackagesPermission" />
<application <application
android:allowBackup="true" android:allowBackup="true"
@ -15,7 +19,9 @@
android:icon="@drawable/ic_app_logo" android:icon="@drawable/ic_app_logo"
android:label="@string/app_name" android:label="@string/app_name"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/DisTheme"> android:theme="@style/DisTheme"
android:dataExtractionRules="@xml/data_extraction_rules"
tools:targetApi="s">
<receiver <receiver
android:name=".StatusBroadcastReceiver" android:name=".StatusBroadcastReceiver"
@ -34,7 +40,6 @@
<activity <activity
android:name="org.disroot.disrootapp.ui.SplashScreenActivity" android:name="org.disroot.disrootapp.ui.SplashScreenActivity"
android:configChanges="orientation|screenSize" android:configChanges="orientation|screenSize"
android:label="@string/app_name"
android:exported="true"> android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />

View File

@ -4,6 +4,7 @@
<change>Migration to new cState "https://status.disroot.org"</change> <change>Migration to new cState "https://status.disroot.org"</change>
<change>Added Cryptpad and removed obsolete Calc + Polls</change> <change>Added Cryptpad and removed obsolete Calc + Polls</change>
<change>correction "need more help" link for notes</change> <change>correction "need more help" link for notes</change>
<change>Solved installed apps check for Android 11 and higher</change>
<change>Updated SDK and gradle</change> <change>Updated SDK and gradle</change>
</release> </release>
<release version="2.0.3" versioncode="26" > <release version="2.0.3" versioncode="26" >

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<data-extraction-rules>
<cloud-backup>
</cloud-backup>
</data-extraction-rules>