do not require the QUERY_ALL_PACKAGES permission, use the new way of doing it

This commit is contained in:
tibbi 2021-04-03 12:32:57 +02:00
parent f31e37136b
commit a54881c79a
2 changed files with 6 additions and 10 deletions

View file

@ -6,7 +6,7 @@ buildscript {
propMinSdkVersion = 21
propTargetSdkVersion = propCompileSdkVersion
propVersionCode = 1
propVersionName = '5.34.25'
propVersionName = '5.34.26'
kotlin_version = '1.4.32'
}

View file

@ -1,18 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.simplemobiletools.commons">
<!-- required for working contentproviders between apps on Android 11+ -->
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
<uses-feature
android:name="android.hardware.faketouch"
android:required="false"/>
android:required="false" />
<uses-feature
android:name="android.hardware.screen.portrait"
android:required="false"/>
android:required="false" />
<application>
<receiver
@ -20,8 +16,8 @@
android:enabled="true"
android:exported="true">
<intent-filter>
<action android:name="com.simplemobiletools.commons.SHARED_THEME_ACTIVATED"/>
<action android:name="com.simplemobiletools.commons.SHARED_THEME_UPDATED"/>
<action android:name="com.simplemobiletools.commons.SHARED_THEME_ACTIVATED" />
<action android:name="com.simplemobiletools.commons.SHARED_THEME_UPDATED" />
</intent-filter>
</receiver>
</application>