diff options
author | 2014-09-13 02:45:38 +0000 | |
---|---|---|
committer | 2014-09-13 02:45:38 +0000 | |
commit | 31ce2cc1dba7e946f5c98af3b65ca9c795a8e10d (patch) | |
tree | 31a0f46cd6444b86cf65a0605bb8bd1abce364ae /java/src/com/android/inputmethod/latin/settings/SettingsFragment.java | |
parent | 6f8f45f0006caf1a6094d54746df92012187df20 (diff) | |
parent | 9b140f4e4f67c6598d9ae975bbbb536df8f06053 (diff) | |
download | latinime-31ce2cc1dba7e946f5c98af3b65ca9c795a8e10d.tar.gz latinime-31ce2cc1dba7e946f5c98af3b65ca9c795a8e10d.tar.xz latinime-31ce2cc1dba7e946f5c98af3b65ca9c795a8e10d.zip |
am 9b140f4e: am 4d8efc97: am b41d1fcd: am d0d8f90a: Merge "Reorganize settings in Google Keyboard" into lmp-dev
* commit '9b140f4e4f67c6598d9ae975bbbb536df8f06053':
Reorganize settings in Google Keyboard
Diffstat (limited to 'java/src/com/android/inputmethod/latin/settings/SettingsFragment.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/settings/SettingsFragment.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/java/src/com/android/inputmethod/latin/settings/SettingsFragment.java b/java/src/com/android/inputmethod/latin/settings/SettingsFragment.java index ff7495853..4fc17387f 100644 --- a/java/src/com/android/inputmethod/latin/settings/SettingsFragment.java +++ b/java/src/com/android/inputmethod/latin/settings/SettingsFragment.java @@ -18,6 +18,7 @@ package com.android.inputmethod.latin.settings; import android.content.Intent; import android.os.Bundle; +import android.preference.Preference; import android.preference.PreferenceScreen; import android.view.Menu; import android.view.MenuInflater; @@ -46,12 +47,10 @@ public final class SettingsFragment extends InputMethodSettingsFragment { final PreferenceScreen preferenceScreen = getPreferenceScreen(); preferenceScreen.setTitle( ApplicationUtils.getActivityTitleResId(getActivity(), SettingsActivity.class)); - } - - @Override - public void onResume() { - super.onResume(); - ThemeSettingsFragment.updateKeyboardThemeSummary(findPreference(Settings.SCREEN_THEME)); + if (!Settings.SHOW_MULTILINGUAL_SETTINGS) { + final Preference multilingualOptions = findPreference(Settings.SCREEN_MULTILINGUAL); + preferenceScreen.removePreference(multilingualOptions); + } } @Override |