Fix build QtService.java: replace int with Integer

... and boolean with Boolean.

Task-number: QTBUG-51897
Change-Id: I498ed0cce48e2566c6800344677111dee225d7d9
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
Anton Kudryavtsev 2016-03-21 14:22:32 +03:00
parent 83ebd5168f
commit d804ea01f0

View File

@ -102,7 +102,7 @@ public class QtService extends Service
{
QtApplication.InvokeResult res = QtApplication.invokeDelegate(intent, flags, startId);
if (res.invoked)
return (int) res.methodReturns;
return (Integer) res.methodReturns;
else
return super.onStartCommand(intent, flags, startId);
}
@ -141,7 +141,7 @@ public class QtService extends Service
{
QtApplication.InvokeResult res = QtApplication.invokeDelegate(intent);
if (res.invoked)
return (boolean) res.methodReturns;
return (Boolean) res.methodReturns;
else
return super.onUnbind(intent);
}