aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
diff options
context:
space:
mode:
authorChieu Nguyen <cvnguyen@google.com>2015-03-18 22:36:09 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-03-18 22:36:10 +0000
commitb56f7d8ca47e5936afe0459928bae49cae6e3615 (patch)
tree55acbbc4044d0792ce435dc46943eea6c5273e91 /java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
parent59d3408727488d461fc45f2131ad81124d035dd1 (diff)
parent8ec36026c93d13c1118eda936ac12325e0085561 (diff)
downloadlatinime-b56f7d8ca47e5936afe0459928bae49cae6e3615.tar.gz
latinime-b56f7d8ca47e5936afe0459928bae49cae6e3615.tar.xz
latinime-b56f7d8ca47e5936afe0459928bae49cae6e3615.zip
Merge "Disable message if personalization is disabled."
Diffstat (limited to 'java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java')
-rw-r--r--java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
index 17525f650..7dd0f03df 100644
--- a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
+++ b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
@@ -213,7 +213,8 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
// it has been shown once already or not, and if in the setup wizard). If applicable, it shows
// the notice. In all cases, it returns true if it was shown, false otherwise.
public boolean maybeShowImportantNoticeTitle() {
- if (!ImportantNoticeUtils.shouldShowImportantNotice(getContext())) {
+ final SettingsValues currentSettingsValues = Settings.getInstance().getCurrent();
+ if (!ImportantNoticeUtils.shouldShowImportantNotice(getContext(), currentSettingsValues)) {
return false;
}
if (getWidth() <= 0) {