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
1ee6e145
Commit
1ee6e145
authored
12 years ago
by
Satoshi Kataoka
Browse files
Options
Downloads
Patches
Plain Diff
Hide statustics logging option
Change-Id: I1ee258948a8335af7996f9e3afcc0508adbb1ac0
parent
372f9da4
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/DebugSettings.java
+8
-0
8 additions, 0 deletions
java/src/com/android/inputmethod/latin/DebugSettings.java
with
8 additions
and
0 deletions
java/src/com/android/inputmethod/latin/DebugSettings.java
+
8
−
0
View file @
1ee6e145
...
...
@@ -37,6 +37,8 @@ public final class DebugSettings extends PreferenceFragment
private
static
final
String
DEBUG_MODE_KEY
=
"debug_mode"
;
public
static
final
String
FORCE_NON_DISTINCT_MULTITOUCH_KEY
=
"force_non_distinct_multitouch"
;
public
static
final
String
PREF_USABILITY_STUDY_MODE
=
"usability_study_mode"
;
private
static
final
String
PREF_STATISTICS_LOGGING_KEY
=
"enable_logging"
;
private
static
final
boolean
SHOW_STATISTICS_LOGGING
=
false
;
private
boolean
mServiceNeedsRestart
=
false
;
private
CheckBoxPreference
mDebugMode
;
...
...
@@ -55,6 +57,12 @@ public final class DebugSettings extends PreferenceFragment
ResearchLogger
.
DEFAULT_USABILITY_STUDY_MODE
));
checkbox
.
setSummary
(
R
.
string
.
settings_warning_researcher_mode
);
}
final
Preference
statisticsLoggingPref
=
findPreference
(
PREF_STATISTICS_LOGGING_KEY
);
if
(
statisticsLoggingPref
instanceof
CheckBoxPreference
)
{
if
(!
SHOW_STATISTICS_LOGGING
)
{
getPreferenceScreen
().
removePreference
(
statisticsLoggingPref
);
}
}
mServiceNeedsRestart
=
false
;
mDebugMode
=
(
CheckBoxPreference
)
findPreference
(
DEBUG_MODE_KEY
);
...
...
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