Fix Settings fragment isn't shown on tablet

Bug: 6341510
Change-Id: I319bb72400995d8385b0b14ef25b164dee3974da
This commit is contained in:
Tadashi G. Takaoka 2012-04-16 16:36:28 +09:00
parent 11a40a047f
commit 8b833071a1

View file

@ -17,7 +17,6 @@
package com.android.inputmethod.latin; package com.android.inputmethod.latin;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle;
import android.preference.PreferenceActivity; import android.preference.PreferenceActivity;
public class SettingsActivity extends PreferenceActivity { public class SettingsActivity extends PreferenceActivity {
@ -25,12 +24,7 @@ public class SettingsActivity extends PreferenceActivity {
public Intent getIntent() { public Intent getIntent() {
final Intent modIntent = new Intent(super.getIntent()); final Intent modIntent = new Intent(super.getIntent());
modIntent.putExtra(EXTRA_SHOW_FRAGMENT, Settings.class.getName()); modIntent.putExtra(EXTRA_SHOW_FRAGMENT, Settings.class.getName());
modIntent.putExtra(EXTRA_NO_HEADERS, true);
return modIntent; return modIntent;
} }
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setTitle(R.string.english_ime_settings);
}
} }