From 45bf0467bcc6a66a701b4e09ece84735418ae4d2 Mon Sep 17 00:00:00 2001 From: Sergey Solovyev Date: Wed, 5 Dec 2012 14:50:32 +0400 Subject: [PATCH] change --- android-app-core/res/values-ru/text_strings.xml | 1 + android-app-core/res/values/text_strings.xml | 1 + .../org/solovyev/android/calculator/CalculatorApplication.java | 2 ++ 3 files changed, 4 insertions(+) diff --git a/android-app-core/res/values-ru/text_strings.xml b/android-app-core/res/values-ru/text_strings.xml index 418a7a45..8963dad7 100644 --- a/android-app-core/res/values-ru/text_strings.xml +++ b/android-app-core/res/values-ru/text_strings.xml @@ -281,5 +281,6 @@ Вы можете удалить вторую иконку Калькулятора++ из списка приложений из настроек или нажав следующую кнопку Удалить иконку + Это изменение может потребовать перезагрузки \ No newline at end of file diff --git a/android-app-core/res/values/text_strings.xml b/android-app-core/res/values/text_strings.xml index 8ae2894e..ce5a05be 100644 --- a/android-app-core/res/values/text_strings.xml +++ b/android-app-core/res/values/text_strings.xml @@ -281,5 +281,6 @@ You can remove second icon in applications\' list from application settings or by pressing next button Remove icon + This change may require reboot \ No newline at end of file diff --git a/android-app/src/main/java/org/solovyev/android/calculator/CalculatorApplication.java b/android-app/src/main/java/org/solovyev/android/calculator/CalculatorApplication.java index 0151aba0..1e603087 100644 --- a/android-app/src/main/java/org/solovyev/android/calculator/CalculatorApplication.java +++ b/android-app/src/main/java/org/solovyev/android/calculator/CalculatorApplication.java @@ -18,6 +18,7 @@ import org.solovyev.android.calculator.external.AndroidExternalListenersContaine import org.solovyev.android.calculator.history.AndroidCalculatorHistory; import org.solovyev.android.calculator.model.AndroidCalculatorEngine; import org.solovyev.android.calculator.onscreen.CalculatorOnscreenStartActivity; +import org.solovyev.common.msg.MessageType; import java.util.ArrayList; import java.util.List; @@ -208,6 +209,7 @@ public class CalculatorApplication extends android.app.Application implements Sh if (CalculatorPreferences.OnscreenCalculator.showAppIcon.getKey().equals(key)) { boolean showAppIcon = CalculatorPreferences.OnscreenCalculator.showAppIcon.getPreference(prefs); AndroidUtils2.toggleComponent(this, CalculatorOnscreenStartActivity.class, showAppIcon); + Locator.getInstance().getNotifier().showMessage(R.string.cpp_this_change_may_require_reboot, MessageType.info); } } }