This commit is contained in:
Sergey Solovyev
2012-12-05 14:50:32 +04:00
parent 776a162b2d
commit 45bf0467bc
3 changed files with 4 additions and 0 deletions

View File

@@ -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);
}
}
}