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
92392b21
Commit
92392b21
authored
11 years ago
by
Jean Chalard
Browse files
Options
Downloads
Patches
Plain Diff
Fix an NPE
Change-Id: I6307c1545d9d48cdea66d08f8efc1b7fbb08ee42
parent
1252333e
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/settings/SettingsValues.java
+6
-2
6 additions, 2 deletions
...om/android/inputmethod/latin/settings/SettingsValues.java
with
6 additions
and
2 deletions
java/src/com/android/inputmethod/latin/settings/SettingsValues.java
+
6
−
2
View file @
92392b21
...
...
@@ -307,11 +307,15 @@ public final class SettingsValues {
}
public
boolean
isBeforeJellyBean
()
{
return
mAppWorkarounds
.
get
(
null
,
TIMEOUT_TO_GET_TARGET_PACKAGE
).
isBeforeJellyBean
();
final
AppWorkaroundsUtils
appWorkaroundUtils
=
mAppWorkarounds
.
get
(
null
,
TIMEOUT_TO_GET_TARGET_PACKAGE
);
return
null
==
appWorkaroundUtils
?
false
:
appWorkaroundUtils
.
isBeforeJellyBean
();
}
public
boolean
isBrokenByRecorrection
()
{
return
mAppWorkarounds
.
get
(
null
,
TIMEOUT_TO_GET_TARGET_PACKAGE
).
isBrokenByRecorrection
();
final
AppWorkaroundsUtils
appWorkaroundUtils
=
mAppWorkarounds
.
get
(
null
,
TIMEOUT_TO_GET_TARGET_PACKAGE
);
return
null
==
appWorkaroundUtils
?
null
:
appWorkaroundUtils
.
isBrokenByRecorrection
();
}
// Helper functions to create member values.
...
...
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