[Android] Target SDK 28, Android Pie

Geoffrey Métais git at videolan.org
Mon Sep 24 16:01:35 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Sep 19 11:20:29 2018 +0200| [0e7fc6addcb7ac92584bf289fdc2fb68a3c25861] | committer: Geoffrey Métais

Target SDK 28, Android Pie

> https://code.videolan.org/videolan/vlc-android/commit/0e7fc6addcb7ac92584bf289fdc2fb68a3c25861
---

 build.gradle                    | 4 ++--
 vlc-android/AndroidManifest.xml | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/build.gradle b/build.gradle
index e31d74d86..4d295ad63 100644
--- a/build.gradle
+++ b/build.gradle
@@ -28,14 +28,14 @@ ext {
     constraintLayoutVersion = '1.1.3'
     archVersion = '1.1.1'
     roomVersion = '1.1.1'
-    compileSdkVersion = 26
+    compileSdkVersion = 28
     junitVersion = '4.12'
     mockito = '2.8.9'
     powerMock = '1.7.4'
     espressoVersion = '3.0.1'
     supportTest = '1.0.2'
     minSdkVersion = 17
-    targetSdkVersion = 26
+    targetSdkVersion = 28
     versionName = '3.0.13'
     versionCode = 3001300
 //    versionCode scheme is T M NN RR AA
diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index abf6ebfa9..bc70fd64b 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -28,6 +28,9 @@
     <!-- Audio search on TV -->
     <uses-permission android:name="android.permission.RECORD_AUDIO" />
 
+    <!-- USe foreground services -->
+    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
+
     <!-- normal -->
     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
     <uses-permission android:name="android.permission.WAKE_LOCK" />



More information about the Android mailing list