mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am 262d5bd9: Don\'t override EXTRA_SHOW_FRAGMENT if exists
* commit '262d5bd9f964d7fb18d96ec2ccf821b042aa3a3a': Don't override EXTRA_SHOW_FRAGMENT if exists
This commit is contained in:
commit
c35bca6856
@ -25,7 +25,10 @@ public final class SettingsActivity extends PreferenceActivity {
|
||||
@Override
|
||||
public Intent getIntent() {
|
||||
final Intent intent = super.getIntent();
|
||||
intent.putExtra(EXTRA_SHOW_FRAGMENT, DEFAULT_FRAGMENT);
|
||||
final String fragment = intent.getStringExtra(EXTRA_SHOW_FRAGMENT);
|
||||
if (fragment == null) {
|
||||
intent.putExtra(EXTRA_SHOW_FRAGMENT, DEFAULT_FRAGMENT);
|
||||
}
|
||||
intent.putExtra(EXTRA_NO_HEADERS, true);
|
||||
return intent;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user