diff options
author | 2015-03-18 13:43:55 -0700 | |
---|---|---|
committer | 2015-03-18 15:30:22 -0700 | |
commit | 8ec36026c93d13c1118eda936ac12325e0085561 (patch) | |
tree | bd83a21071b7f5d98d1326ac7cbcec149a29812c /java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java | |
parent | d5335d939a5551326206afb684d0c40ef352eea5 (diff) | |
download | latinime-8ec36026c93d13c1118eda936ac12325e0085561.tar.gz latinime-8ec36026c93d13c1118eda936ac12325e0085561.tar.xz latinime-8ec36026c93d13c1118eda936ac12325e0085561.zip |
Disable message if personalization is disabled.
Bug: 19087415.
Change-Id: I3974f1b676aa4a9bb04ab7f609b6daf1860c64f1
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) { |