Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LatinIME
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
keyboard
LatinIME
Commits
262d5bd9
Commit
262d5bd9
authored
11 years ago
by
Tadashi G. Takaoka
Browse files
Options
Downloads
Patches
Plain Diff
Don't override EXTRA_SHOW_FRAGMENT if exists
Bug: 8541190 Change-Id: I37d3de12558efd55f157389d2e0b51fc83dc5da1
parent
10af4b6e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
java/src/com/android/inputmethod/latin/SettingsActivity.java
+4
-1
4 additions, 1 deletion
java/src/com/android/inputmethod/latin/SettingsActivity.java
with
4 additions
and
1 deletion
java/src/com/android/inputmethod/latin/SettingsActivity.java
+
4
−
1
View file @
262d5bd9
...
@@ -25,7 +25,10 @@ public final class SettingsActivity extends PreferenceActivity {
...
@@ -25,7 +25,10 @@ public final class SettingsActivity extends PreferenceActivity {
@Override
@Override
public
Intent
getIntent
()
{
public
Intent
getIntent
()
{
final
Intent
intent
=
super
.
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
);
intent
.
putExtra
(
EXTRA_NO_HEADERS
,
true
);
return
intent
;
return
intent
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment