OSDN Git Service

Taskbar 3.8 (release 2)
authorBraden Farmer <farmerbb@gmail.com>
Mon, 13 Nov 2017 15:03:46 +0000 (08:03 -0700)
committerBraden Farmer <farmerbb@gmail.com>
Mon, 13 Nov 2017 15:03:46 +0000 (08:03 -0700)
String fixes

app/build.gradle
app/src/main/java/com/farmerbb/taskbar/activity/DummyActivity.java
app/src/main/res/values/strings.xml

index 080259c..2712582 100644 (file)
@@ -18,7 +18,7 @@ android {
         minSdkVersion 21
         targetSdkVersion SDK_VERSION
 
-        versionCode 172
+        versionCode 173
         versionName "3.8"
 
         resConfigs "en", "ja", "ru", "de", "zh-rCN"
index c996324..d2ecc1d 100644 (file)
@@ -113,7 +113,7 @@ public class DummyActivity extends Activity {
 
                 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextThemeWrapper(this, theme));
                 builder.setTitle(R.string.permission_dialog_title)
-                        .setMessage(R.string.accessibility_service_description)
+                        .setMessage(R.string.enable_accessibility)
                         .setNegativeButton(R.string.action_cancel, (dialog, which) -> new Handler().post(this::finish))
                         .setPositiveButton(R.string.action_activate, (dialog, which) -> {
                             Intent intent = new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS);
index 2c632da..11493a4 100644 (file)
 
     <string name="tools">Tools</string>
 
-    <string name="enable_accessibility">Taskbar\'s accessibility service must be enabled to perform this action</string>
+    <string name="enable_accessibility">@string/accessibility_service_description</string>
     <string name="accessibility_service_summary">Allows Taskbar to perform button press actions</string>
     <string name="accessibility_service_description">In order to perform button press actions such as back, home, recents, and showing the power menu, Taskbar needs to be activated as an accessibility service.\n\nThis permission is used only to perform button press actions, and for no other purpose.</string>