From f66a6a3bb0a7b6d90793b24d623fc21a588e7ae3 Mon Sep 17 00:00:00 2001 From: Jatin Matani Date: Wed, 8 Oct 2014 15:26:39 -0700 Subject: [PATCH] Fix messaging for sync now feature, when no account is selected Change-Id: I5e81b7a1eed9c2177ad3ddfa6c96c2b85c433766 --- .../inputmethod/latin/settings/AccountsSettingsFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java b/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java index a02cb5539..1d29e537d 100644 --- a/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java +++ b/java/src/com/android/inputmethod/latin/settings/AccountsSettingsFragment.java @@ -157,10 +157,10 @@ public final class AccountsSettingsFragment extends SubScreenFragment { final String currentAccount = getCurrentlySelectedAccount(); if (currentAccount == null) { syncNowPreference.setEnabled(false); - syncNowPreference.setSummary(R.string.sync_now_summary); + syncNowPreference.setSummary(R.string.sync_now_summary_disabled_signed_out); } else { syncNowPreference.setEnabled(true); - syncNowPreference.setSummary(R.string.sync_now_summary_disabled_signed_out); + syncNowPreference.setSummary(R.string.sync_now_summary); } }