Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
531
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
9d992ad4
Commit
9d992ad4
authored
7 years ago
by
Thomas Guillem
Browse files
Options
Downloads
Patches
Plain Diff
LibVLC: keep context instance
parent
1d138efb
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
libvlc/src/org/videolan/libvlc/LibVLC.java
+2
-0
2 additions, 0 deletions
libvlc/src/org/videolan/libvlc/LibVLC.java
with
2 additions
and
0 deletions
libvlc/src/org/videolan/libvlc/LibVLC.java
+
2
−
0
View file @
9d992ad4
...
...
@@ -32,6 +32,7 @@ import java.util.ArrayList;
@SuppressWarnings
(
"unused, JniMissingFunction"
)
public
class
LibVLC
extends
VLCObject
<
LibVLC
.
Event
>
{
private
static
final
String
TAG
=
"VLC/LibVLC"
;
final
Context
mAppContext
;
public
static
class
Event
extends
VLCEvent
{
protected
Event
(
int
type
)
{
...
...
@@ -45,6 +46,7 @@ public class LibVLC extends VLCObject<LibVLC.Event> {
* @param options
*/
public
LibVLC
(
Context
context
,
ArrayList
<
String
>
options
)
{
mAppContext
=
context
.
getApplicationContext
();
loadLibraries
();
if
(
options
==
null
)
...
...
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