Fix security exception for start foreground service for android 9
This commit is contained in:
parent
f527034c71
commit
e14baf1208
2 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
|||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||||
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||||
|
||||
<application
|
||||
android:name="net.osmand.telegram.TelegramApplication"
|
||||
|
|
|
@ -5,7 +5,7 @@ apply plugin: 'kotlin-android-extensions'
|
|||
|
||||
android {
|
||||
compileSdkVersion 28
|
||||
buildToolsVersion "27.0.3"
|
||||
buildToolsVersion "28.0.3"
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
|
|
Loading…
Reference in a new issue