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:
parent
83ebd5168f
commit
d804ea01f0
@ -102,7 +102,7 @@ public class QtService extends Service
|
|||||||
{
|
{
|
||||||
QtApplication.InvokeResult res = QtApplication.invokeDelegate(intent, flags, startId);
|
QtApplication.InvokeResult res = QtApplication.invokeDelegate(intent, flags, startId);
|
||||||
if (res.invoked)
|
if (res.invoked)
|
||||||
return (int) res.methodReturns;
|
return (Integer) res.methodReturns;
|
||||||
else
|
else
|
||||||
return super.onStartCommand(intent, flags, startId);
|
return super.onStartCommand(intent, flags, startId);
|
||||||
}
|
}
|
||||||
@ -141,7 +141,7 @@ public class QtService extends Service
|
|||||||
{
|
{
|
||||||
QtApplication.InvokeResult res = QtApplication.invokeDelegate(intent);
|
QtApplication.InvokeResult res = QtApplication.invokeDelegate(intent);
|
||||||
if (res.invoked)
|
if (res.invoked)
|
||||||
return (boolean) res.methodReturns;
|
return (Boolean) res.methodReturns;
|
||||||
else
|
else
|
||||||
return super.onUnbind(intent);
|
return super.onUnbind(intent);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user