[tor-commits] [orbot/master] updated to SDK 28, added android.permission.FOREGROUND_SERVICE permission

n8fr8 at torproject.org n8fr8 at torproject.org
Fri Mar 22 16:30:10 UTC 2019


commit 2a76b7af3d76c16586b32e85c4f375c839017ed6
Author: n8fr8 <nathan at guardianproject.info>
Date:   Fri Mar 22 12:27:45 2019 -0400

    updated to SDK 28, added android.permission.FOREGROUND_SERVICE permission
---
 app/build.gradle                 | 14 +++++++-------
 app/src/main/AndroidManifest.xml |  1 +
 jsocksAndroid/build.gradle       |  6 +++---
 3 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/app/build.gradle b/app/build.gradle
index 44b80600..6b59a43d 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,12 +1,12 @@
 apply plugin: 'com.android.application'
 
 android {
-    compileSdkVersion 27
-    buildToolsVersion '27.0.3'
+    compileSdkVersion 28
+    buildToolsVersion '28.0.3'
     defaultConfig {
         applicationId "org.torproject.android"
         minSdkVersion 16
-        targetSdkVersion 27
+        targetSdkVersion 28
     }
     lintOptions {
         checkReleaseBuilds false
@@ -33,9 +33,9 @@ android {
             dimension "free"
             minSdkVersion 16
             applicationId 'org.torproject.android'
-            targetSdkVersion 27
-            versionCode 16050200
-            versionName '16.0.5-RC-2-tor-0.3.4.9'
+            targetSdkVersion 28
+            versionCode 16060001
+            versionName '16.0.6-BETA-1-tor-0.3.5.8'
             archivesBaseName = "Orbot-$versionName"
         }
     }
@@ -69,7 +69,7 @@ android {
 dependencies {
     implementation 'com.android.support.constraint:constraint-layout:1.1.3'
     implementation project(':orbotservice')
-    implementation 'com.android.support:design:27.1.1'
+    implementation 'com.android.support:design:28.0.0'
     implementation 'pl.bclogic:pulsator4droid:1.0.3'
     implementation 'com.github.apl-devs:appintro:v4.2.2'
     implementation 'com.github.javiersantos:AppUpdater:2.6.4'
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 56db8266..ea90afe7 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -5,6 +5,7 @@
     android:installLocation="auto">
 
     <uses-permission android:name="android.permission.INTERNET" />
+    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
diff --git a/jsocksAndroid/build.gradle b/jsocksAndroid/build.gradle
index 7ac21e4e..a6215bf0 100644
--- a/jsocksAndroid/build.gradle
+++ b/jsocksAndroid/build.gradle
@@ -1,12 +1,12 @@
 apply plugin: 'com.android.library'
 
 android {
-    compileSdkVersion 27
-    buildToolsVersion '27.0.3'
+    compileSdkVersion 28
+    buildToolsVersion '28.0.3'
 
     defaultConfig {
         minSdkVersion 16
-        targetSdkVersion 27
+        targetSdkVersion 28
     }
 
     buildTypes {



More information about the tor-commits mailing list