aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-02-14 04:07:46 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-02-14 04:07:46 +0000
commit4197c6f3ab1db7d37bfb5fca05bd7169504f451e (patch)
treea2c096df9dd2efdf9b388ae225bb4b34d9b7c55a /java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
parenta2c8e166e9d680ee0121f1e01c2f33305623c59d (diff)
parent8adedbf47c7ac150d4ac7e6cdbee3ece38f346e7 (diff)
downloadlatinime-4197c6f3ab1db7d37bfb5fca05bd7169504f451e.tar.gz
latinime-4197c6f3ab1db7d37bfb5fca05bd7169504f451e.tar.xz
latinime-4197c6f3ab1db7d37bfb5fca05bd7169504f451e.zip
Merge "Show the suggestion strip for the important notice"
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, 1 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
index 32d7d2317..cf0a7a2aa 100644
--- a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
+++ b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
@@ -227,8 +227,7 @@ 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.hasNewImportantNotice(getContext())
- || ImportantNoticeUtils.isInSystemSetupWizard(getContext())) {
+ if (!ImportantNoticeUtils.hasNewImportantNoticeAndNotInSetupWizard(getContext())) {
return false;
}
final int width = getWidth();