Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
08c84e0c
Commit
08c84e0c
authored
Apr 05, 2015
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3729 from bitstars:AsyncServiceHelper.java-Android-5-hotfix
parents
caa03f72
d2dc7f4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
android+AsyncServiceHelper.java
...s/java/generator/src/java/android+AsyncServiceHelper.java
+3
-2
No files found.
modules/java/generator/src/java/android+AsyncServiceHelper.java
View file @
08c84e0c
...
@@ -21,8 +21,9 @@ class AsyncServiceHelper
...
@@ -21,8 +21,9 @@ class AsyncServiceHelper
final
LoaderCallbackInterface
Callback
)
final
LoaderCallbackInterface
Callback
)
{
{
AsyncServiceHelper
helper
=
new
AsyncServiceHelper
(
Version
,
AppContext
,
Callback
);
AsyncServiceHelper
helper
=
new
AsyncServiceHelper
(
Version
,
AppContext
,
Callback
);
if
(
AppContext
.
bindService
(
new
Intent
(
"org.opencv.engine.BIND"
),
Intent
intent
=
new
Intent
(
"org.opencv.engine.BIND"
);
helper
.
mServiceConnection
,
Context
.
BIND_AUTO_CREATE
))
intent
.
setPackage
(
"org.opencv.engine"
);
if
(
AppContext
.
bindService
(
intent
,
helper
.
mServiceConnection
,
Context
.
BIND_AUTO_CREATE
))
{
{
return
true
;
return
true
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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