Fixed packages visibility on Android 11+

This commit is contained in:
SVolf 2023-09-30 19:32:22 +07:00 committed by TrianguloY
parent dcf8e580a9
commit 8794ee86da

View file

@ -7,6 +7,7 @@
<uses-permission android:name="android.permission.SET_WALLPAPER"/>
<uses-permission android:name="android.permission.SET_WALLPAPER_HINTS"/>
<uses-permission android:name="android.permission.REORDER_TASKS"/>
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
<!-- backup & restore -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
@ -41,6 +42,14 @@
android:smallScreens="true"
android:xlargeScreens="true" />
<!-- Fix for Android 11: https://developer.android.com/training/package-visibility -->
<queries>
<intent>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent>
</queries>
<application
android:name="net.pierrox.lightning_launcher.${app_name}"