Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Casanowow Life for love
VLC-Android
Commits
ebf2006c
Commit
ebf2006c
authored
Mar 15, 2018
by
Geoffrey Métais
Browse files
Tune app launch
parent
df65474f
Changes
1
Hide whitespace changes
Inline
Side-by-side
vlc-android/src/org/videolan/vlc/VLCApplication.java
View file @
ebf2006c
...
...
@@ -86,11 +86,19 @@ public class VLCApplication extends Application {
private
static
int
sDialogCounter
=
0
;
public
VLCApplication
()
{
super
();
instance
=
this
;
}
@Override
public
void
onCreate
()
{
instance
=
this
;
super
.
onCreate
();
sSettings
=
PreferenceManager
.
getDefaultSharedPreferences
(
this
);
sTV
=
AndroidDevices
.
isAndroidTv
||
(!
AndroidDevices
.
isChromeBook
&&
!
AndroidDevices
.
hasTsp
);
// Disable remote control receiver on Fire TV.
if
(!
AndroidDevices
.
hasTsp
)
AndroidDevices
.
setRemoteControlReceiverEnabled
(
false
);
setLocale
();
...
...
@@ -102,14 +110,8 @@ public class VLCApplication extends Application {
// Prepare cache folder constants
AudioUtil
.
prepareCacheFolder
(
instance
);
sTV
=
AndroidDevices
.
isAndroidTv
||
(!
AndroidDevices
.
isChromeBook
&&
!
AndroidDevices
.
hasTsp
);
if
(!
VLCInstance
.
testCompatibleCPU
(
instance
))
return
;
Dialog
.
setCallbacks
(
VLCInstance
.
get
(),
mDialogCallbacks
);
// Disable remote control receiver on Fire TV.
if
(!
AndroidDevices
.
hasTsp
)
AndroidDevices
.
setRemoteControlReceiverEnabled
(
false
);
}
});
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment