Update android+AsyncServiceHelper.java

Update android+AsyncServiceHelper.java

changed tabs in last commit to spaces

Update android+AsyncServiceHelper.java

small formatting fixes
pull/3963/head
Simon Heinen 10 years ago committed by Dikay900
parent 41b920344d
commit 6decc2596d
  1. 5
      modules/java/generator/src/java/android+AsyncServiceHelper.java

@ -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…
Cancel
Save