Update important notice version even when user select Settings

Bug: 13060852
Change-Id: I463fdf3d51cacf99693fcde2998ea751046d1cc5
This commit is contained in:
Tadashi G. Takaoka 2014-02-18 00:12:54 +09:00
parent 782c9fee6b
commit f0f4e9fc16

View file

@ -1176,8 +1176,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
@Override
public void onClick(final DialogInterface di, final int position) {
di.dismiss();
if (position == DialogInterface.BUTTON_POSITIVE) {
ImportantNoticeUtils.updateLastImportantNoticeVersion(context);
if (position == DialogInterface.BUTTON_POSITIVE) {
setNeutralSuggestionStrip();
return;
}