squashed #3729
Update android+AsyncServiceHelper.java Update android+AsyncServiceHelper.java changed tabs in last commit to spaces Update android+AsyncServiceHelper.java small formatting fixes
This commit is contained in:
parent
41b920344d
commit
6decc2596d
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user