From 3e0229f299eb130a0ad3ef4e3eefad52d68d3778 Mon Sep 17 00:00:00 2001 From: Hannes Achleitner Date: Fri, 10 Sep 2021 06:51:30 +0200 Subject: [PATCH 1/2] Api 31 --- basicSample/build.gradle | 2 +- build.gradle | 2 +- extendedSample/build.gradle | 2 +- serviceLibrary/build.gradle | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/basicSample/build.gradle b/basicSample/build.gradle index 195c3cc9..caf1ba77 100644 --- a/basicSample/build.gradle +++ b/basicSample/build.gradle @@ -9,7 +9,7 @@ android { defaultConfig { applicationId "info.mqtt.java.example" minSdkVersion 21 - targetSdkVersion 30 + targetSdkVersion 31 versionCode getGitCommitCount() versionName getTag() diff --git a/build.gradle b/build.gradle index da130cd2..6bd429e7 100644 --- a/build.gradle +++ b/build.gradle @@ -16,7 +16,7 @@ buildscript { println "Gradle uses Java ${Jvm.current()}" ext { - compileSdkVersion = 30 + compileSdkVersion = 31 room_version = "2.4.0-alpha04" } diff --git a/extendedSample/build.gradle b/extendedSample/build.gradle index d70b443d..3f30a2e8 100644 --- a/extendedSample/build.gradle +++ b/extendedSample/build.gradle @@ -10,7 +10,7 @@ android { defaultConfig { applicationId 'info.mqtt.android.extsample' minSdkVersion 21 - targetSdkVersion 30 + targetSdkVersion 31 versionCode getGitCommitCount() versionName getTag() diff --git a/serviceLibrary/build.gradle b/serviceLibrary/build.gradle index 75a450a1..e6a2893a 100644 --- a/serviceLibrary/build.gradle +++ b/serviceLibrary/build.gradle @@ -10,7 +10,7 @@ android { defaultConfig { minSdkVersion 21 - targetSdkVersion 30 + targetSdkVersion 31 versionCode getGitCommitCount() // Android Studio 4.1 doesn't generate versionName in libraries any more From c0ed02ed437bafbf6aa2cc456ed14ce187d639d6 Mon Sep 17 00:00:00 2001 From: Hannes Achleitner Date: Fri, 10 Sep 2021 06:53:22 +0200 Subject: [PATCH 2/2] Add required exported attribute in manifest --- basicSample/src/main/AndroidManifest.xml | 3 ++- extendedSample/src/main/AndroidManifest.xml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/basicSample/src/main/AndroidManifest.xml b/basicSample/src/main/AndroidManifest.xml index e6acf27e..1adc2d43 100644 --- a/basicSample/src/main/AndroidManifest.xml +++ b/basicSample/src/main/AndroidManifest.xml @@ -19,7 +19,8 @@ + android:theme="@style/AppTheme.NoActionBar" + android:exported="true"> diff --git a/extendedSample/src/main/AndroidManifest.xml b/extendedSample/src/main/AndroidManifest.xml index b605b639..57b7113e 100644 --- a/extendedSample/src/main/AndroidManifest.xml +++ b/extendedSample/src/main/AndroidManifest.xml @@ -18,7 +18,8 @@ + android:label="@string/app_name" + android:exported="true">