diff options
author | 2013-03-15 07:10:00 +0000 | |
---|---|---|
committer | 2013-03-15 07:10:00 +0000 | |
commit | 3268a44e1cde2f4e14d01ac62e2e1a6e9a70a601 (patch) | |
tree | 07c7d4bffaa0c4ebfee5ec7159ab9fc3f906328b /java/src/com/android/inputmethod/latin/DebugSettingsActivity.java | |
parent | f33f1cab2fd57fe39955593e68902554ed57a053 (diff) | |
parent | a50673330e012f6cca02b83eca1c047b8da319e0 (diff) | |
download | latinime-3268a44e1cde2f4e14d01ac62e2e1a6e9a70a601.tar.gz latinime-3268a44e1cde2f4e14d01ac62e2e1a6e9a70a601.tar.xz latinime-3268a44e1cde2f4e14d01ac62e2e1a6e9a70a601.zip |
am a5067333: Disable the header list of DebugSettingsActivity
* commit 'a50673330e012f6cca02b83eca1c047b8da319e0':
Disable the header list of DebugSettingsActivity
Diffstat (limited to 'java/src/com/android/inputmethod/latin/DebugSettingsActivity.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/DebugSettingsActivity.java | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/java/src/com/android/inputmethod/latin/DebugSettingsActivity.java b/java/src/com/android/inputmethod/latin/DebugSettingsActivity.java index 2a501a665..e1b5a802e 100644 --- a/java/src/com/android/inputmethod/latin/DebugSettingsActivity.java +++ b/java/src/com/android/inputmethod/latin/DebugSettingsActivity.java @@ -21,15 +21,18 @@ import android.os.Bundle; import android.preference.PreferenceActivity; public final class DebugSettingsActivity extends PreferenceActivity { + private static final String DEFAULT_FRAGMENT = DebugSettings.class.getName(); + @Override public Intent getIntent() { - final Intent modIntent = new Intent(super.getIntent()); - modIntent.putExtra(EXTRA_SHOW_FRAGMENT, DebugSettings.class.getName()); - return modIntent; + final Intent intent = super.getIntent(); + intent.putExtra(EXTRA_SHOW_FRAGMENT, DEFAULT_FRAGMENT); + intent.putExtra(EXTRA_NO_HEADERS, true); + return intent; } @Override - protected void onCreate(Bundle savedInstanceState) { + protected void onCreate(final Bundle savedInstanceState) { super.onCreate(savedInstanceState); setTitle(R.string.english_ime_debug_settings); } |