From 04adc7405b840d81f4bd95d4a0a1978952b2ad84 Mon Sep 17 00:00:00 2001 From: Pranav Pandey Date: Sun, 10 Oct 2021 07:29:06 +0530 Subject: [PATCH] Version 4.1.1 Dynamic utils 4.3.1. --- README.md | 2 +- build.gradle | 6 +++--- dynamic-engine/build.gradle | 2 +- dynamic-engine/src/main/AndroidManifest.xml | 5 ++--- .../dynamic/engine/receiver/DynamicStateReceiver.java | 2 +- .../dynamic/engine/service/DynamicStickyService.java | 1 - 6 files changed, 8 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 641fa05..62eecfe 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ It can be installed by adding the following dependency to your `build.gradle` fi ```groovy dependencies { // For AndroidX enabled projects. - implementation 'com.pranavpandey.android:dynamic-engine:4.1.0' + implementation 'com.pranavpandey.android:dynamic-engine:4.1.1' // For legacy projects. implementation 'com.pranavpandey.android:dynamic-engine:1.3.0' diff --git a/build.gradle b/build.gradle index 90bba23..0fa02b5 100644 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,7 @@ buildscript { 'minSdk' : 14, 'targetSdk' : 31, 'buildTools': '31.0.0', - 'dynamic' : '4.2.0', + 'dynamic' : '4.3.1', 'preference': '1.1.1' ] @@ -68,8 +68,8 @@ ext { mavenDir = 'com/pranavpandey/android' mavenArtifactId = 'dynamic-engine' mavenInceptionYear = '2017' - mavenVersion = '4.1.0' - mavenVersionCode = 26 + mavenVersion = '4.1.1' + mavenVersionCode = 27 developerId = 'pranavpandey' developerName = 'Pranav Pandey' diff --git a/dynamic-engine/build.gradle b/dynamic-engine/build.gradle index b70d1f9..61a2b72 100644 --- a/dynamic-engine/build.gradle +++ b/dynamic-engine/build.gradle @@ -72,7 +72,7 @@ project.afterEvaluate { } options.windowTitle = "${referenceTitle}" - options.footer = "
${project.android.defaultConfig.versionName}
" + options.footer = "
${mavenVersion}
" options.links('http://docs.oracle.com/javase/8/docs/api') options.links('https://developer.android.com/reference') options.memberLevel = JavadocMemberLevel.PROTECTED diff --git a/dynamic-engine/src/main/AndroidManifest.xml b/dynamic-engine/src/main/AndroidManifest.xml index f51a8d5..6727ccf 100644 --- a/dynamic-engine/src/main/AndroidManifest.xml +++ b/dynamic-engine/src/main/AndroidManifest.xml @@ -20,7 +20,7 @@ xmlns:tools="http://schemas.android.com/tools" package="com.pranavpandey.android.dynamic.engine"> - + @@ -29,8 +29,7 @@ - - + diff --git a/dynamic-engine/src/main/java/com/pranavpandey/android/dynamic/engine/receiver/DynamicStateReceiver.java b/dynamic-engine/src/main/java/com/pranavpandey/android/dynamic/engine/receiver/DynamicStateReceiver.java index 4edd84e..37fc7f7 100644 --- a/dynamic-engine/src/main/java/com/pranavpandey/android/dynamic/engine/receiver/DynamicStateReceiver.java +++ b/dynamic-engine/src/main/java/com/pranavpandey/android/dynamic/engine/receiver/DynamicStateReceiver.java @@ -38,7 +38,7 @@ public class DynamicStateReceiver extends BroadcastReceiver { @Override - public void onReceive(final @NonNull Context context, @Nullable Intent intent) { + public void onReceive(@NonNull Context context, @Nullable Intent intent) { if (intent != null && TelephonyManager.ACTION_PHONE_STATE_CHANGED.equals(intent.getAction())) { String state = intent.getStringExtra(TelephonyManager.EXTRA_STATE); diff --git a/dynamic-engine/src/main/java/com/pranavpandey/android/dynamic/engine/service/DynamicStickyService.java b/dynamic-engine/src/main/java/com/pranavpandey/android/dynamic/engine/service/DynamicStickyService.java index 15d68f3..f4aecdb 100644 --- a/dynamic-engine/src/main/java/com/pranavpandey/android/dynamic/engine/service/DynamicStickyService.java +++ b/dynamic-engine/src/main/java/com/pranavpandey/android/dynamic/engine/service/DynamicStickyService.java @@ -98,7 +98,6 @@ protected void onServiceConnected() { setServiceInfo(info); } } - } @Override