diff options
author | 2015-03-18 22:42:23 +0000 | |
---|---|---|
committer | 2015-03-18 22:42:23 +0000 | |
commit | 56391ce7c7ee1d8ed86d83ac1e49d1714154f126 (patch) | |
tree | 56fdb6b016ca6fde358b4ae0a2fe136292ded7da /java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java | |
parent | fe316820b9e1d8d52ca86e7fd1787ac4f574fa0c (diff) | |
parent | b56f7d8ca47e5936afe0459928bae49cae6e3615 (diff) | |
download | latinime-56391ce7c7ee1d8ed86d83ac1e49d1714154f126.tar.gz latinime-56391ce7c7ee1d8ed86d83ac1e49d1714154f126.tar.xz latinime-56391ce7c7ee1d8ed86d83ac1e49d1714154f126.zip |
am b56f7d8c: Merge "Disable message if personalization is disabled."
* commit 'b56f7d8ca47e5936afe0459928bae49cae6e3615':
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.java | 3 |
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) { |