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
5e118c4c
Commit
5e118c4c
authored
12 years ago
by
Satoshi Kataoka
Committed by
Android Git Automerger
12 years ago
Browse files
Options
Downloads
Plain Diff
am
60dea36d
: Assuming that NO_EXTRACT_UI mode is NO_FULSCREEN
* commit '
60dea36d
': Assuming that NO_EXTRACT_UI mode is NO_FULSCREEN
parents
1f9eea44
60dea36d
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/LatinIME.java
+10
-1
10 additions, 1 deletion
java/src/com/android/inputmethod/latin/LatinIME.java
with
10 additions
and
1 deletion
java/src/com/android/inputmethod/latin/LatinIME.java
+
10
−
1
View file @
5e118c4c
...
@@ -1063,7 +1063,16 @@ public final class LatinIME extends InputMethodService implements KeyboardAction
...
@@ -1063,7 +1063,16 @@ public final class LatinIME extends InputMethodService implements KeyboardAction
// Reread resource value here, because this method is called by framework anytime as needed.
// Reread resource value here, because this method is called by framework anytime as needed.
final
boolean
isFullscreenModeAllowed
=
final
boolean
isFullscreenModeAllowed
=
mCurrentSettings
.
isFullscreenModeAllowed
(
getResources
());
mCurrentSettings
.
isFullscreenModeAllowed
(
getResources
());
return
super
.
onEvaluateFullscreenMode
()
&&
isFullscreenModeAllowed
;
if
(
super
.
onEvaluateFullscreenMode
()
&&
isFullscreenModeAllowed
)
{
// TODO: Remove this hack. Actually we should not really assume NO_EXTRACT_UI
// implies NO_FULLSCREEN. However, the framework mistakenly does. i.e. NO_EXTRACT_UI
// without NO_FULLSCREEN doesn't work as expected. Because of this we need this
// hack for now. Let's get rid of this once the framework gets fixed.
final
EditorInfo
ei
=
getCurrentInputEditorInfo
();
return
!(
ei
!=
null
&&
((
ei
.
imeOptions
&
EditorInfo
.
IME_FLAG_NO_EXTRACT_UI
)
!=
0
));
}
else
{
return
false
;
}
}
}
@Override
@Override
...
...
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