Fix Settings fragment isn't shown on tablet
Bug: 6341510 Change-Id: I319bb72400995d8385b0b14ef25b164dee3974da
This commit is contained in:
parent
11a40a047f
commit
8b833071a1
1 changed files with 1 additions and 7 deletions
|
@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue