Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
532
Issue boards
Milestones
Wiki
Code
Merge requests
14
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
242601db
Commit
242601db
authored
8 years ago
by
Geoffrey Métais
Browse files
Options
Downloads
Patches
Plain Diff
Safety util method to update view visibility
parent
3e3c93fb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vlc-android/src/org/videolan/vlc/gui/helpers/UiTools.java
+5
-0
5 additions, 0 deletions
vlc-android/src/org/videolan/vlc/gui/helpers/UiTools.java
with
5 additions
and
0 deletions
vlc-android/src/org/videolan/vlc/gui/helpers/UiTools.java
+
5
−
0
View file @
242601db
...
...
@@ -178,6 +178,11 @@ public class UiTools {
}
}
public
static
void
setViewVisibility
(
View
v
,
int
visibility
)
{
if
(
v
!=
null
)
v
.
setVisibility
(
visibility
);
}
public
static
boolean
isBlackThemeEnabled
()
{
SharedPreferences
pref
=
PreferenceManager
.
getDefaultSharedPreferences
(
VLCApplication
.
getAppContext
());
return
pref
.
getBoolean
(
"enable_black_theme"
,
false
);
...
...
This diff is collapsed.
Click to expand it.
Geoffrey Métais
@Dekans
mentioned in commit
3c939e04
·
8 years ago
mentioned in commit
3c939e04
mentioned in commit 3c939e041207f621a06ae5b6dd74fdd8b8b56529
Toggle commit list
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