1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-02 01:01:17 +00:00

Add permission required by API level 28 (#1399)

reference: https://developer.android.com/about/versions/pie/android-9.0-changes-28
This commit is contained in:
Sakari 2019-09-09 15:22:57 +08:00 committed by Audrius Butkevicius
parent 32119af039
commit b16be9a085

View file

@ -16,6 +16,8 @@
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/> <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>
<!-- ACCESS_COARSE_LOCATION is required to get WiFi's SSID on 8.1 --> <!-- ACCESS_COARSE_LOCATION is required to get WiFi's SSID on 8.1 -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<!-- FOREGROUND_SERVICE is required to create a foreground service on 9 -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<application <application
android:allowBackup="false" android:allowBackup="false"