From 9a6083247fc211958ff4fe48e292d0cf08bca7ad Mon Sep 17 00:00:00 2001 From: jens Date: Sun, 31 Oct 2021 13:27:45 +0100 Subject: [PATCH] permission for play sound --- app/build.gradle | 4 ++-- app/googlePlayFlavor/release/output-metadata.json | 4 ++-- .../main/java/com/jens/automation2/ActivityPermissions.java | 2 +- app/src/main/res/values-de/strings.xml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 6fdf0418..acf12469 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -11,8 +11,8 @@ android { compileSdkVersion 29 buildToolsVersion '29.0.2' useLibrary 'org.apache.http.legacy' - versionCode 112 - versionName "1.6.42" + versionCode 113 + versionName "1.6.43" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/googlePlayFlavor/release/output-metadata.json b/app/googlePlayFlavor/release/output-metadata.json index fc969bd4..03ae99d8 100644 --- a/app/googlePlayFlavor/release/output-metadata.json +++ b/app/googlePlayFlavor/release/output-metadata.json @@ -11,8 +11,8 @@ "type": "SINGLE", "filters": [], "attributes": [], - "versionCode": 112, - "versionName": "1.6.42-googlePlay", + "versionCode": 113, + "versionName": "1.6.43-googlePlay", "outputFile": "app-googlePlayFlavor-release.apk" } ], diff --git a/app/src/main/java/com/jens/automation2/ActivityPermissions.java b/app/src/main/java/com/jens/automation2/ActivityPermissions.java index 86e31a4c..3530d668 100644 --- a/app/src/main/java/com/jens/automation2/ActivityPermissions.java +++ b/app/src/main/java/com/jens/automation2/ActivityPermissions.java @@ -656,7 +656,7 @@ public class ActivityPermissions extends Activity { for (Action action : rule.getActionSet()) { - if(action.equals(actionType)) + if(action.getAction().equals(actionType)) addToArrayListUnique(rule.getName(), returnList); } } diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 4d0e2c40..d30a10c6 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -481,8 +481,8 @@ Bearbeiten Klicken und halten Sie ein Objekt für Optionen. Automation als Dienst starten - Set screen brightness - Enter the desired brightness (from 0 to 100). + Bildschirmhelligkeit einstellen + Geben Sie den gewünschten Helligkeitswert ein (von 0 bis 100). Automatische Helligkeitseinstellung verwenden übernehmen automatische Helligkeit