mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 12:00:29 +02:00
Removes some forgotten debugln
git-svn-id: trunk@35294 -
This commit is contained in:
parent
577822049d
commit
83e909a612
@ -194,12 +194,10 @@ begin
|
|||||||
|
|
||||||
// Get the vibrator object
|
// Get the vibrator object
|
||||||
// Vibrator v = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE);
|
// Vibrator v = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE);
|
||||||
DebugLn('3');
|
|
||||||
lParams[0].l := javaString_VIBRATOR_SERVICE;
|
lParams[0].l := javaString_VIBRATOR_SERVICE;
|
||||||
lVibratorObject := javaEnvRef^^.CallObjectMethodA(javaEnvRef, javaActivityObject, javaMethod_getSystemService, @lParams[0]);
|
lVibratorObject := javaEnvRef^^.CallObjectMethodA(javaEnvRef, javaActivityObject, javaMethod_getSystemService, @lParams[0]);
|
||||||
|
|
||||||
// Now call the method from the vibrator object
|
// Now call the method from the vibrator object
|
||||||
DebugLn('4');
|
|
||||||
lParams[0].j := ADurationMS;
|
lParams[0].j := ADurationMS;
|
||||||
javaEnvRef^^.CallVoidMethodA(javaEnvRef, lVibratorObject, javaMethod_Vibrate, @lParams[0]);
|
javaEnvRef^^.CallVoidMethodA(javaEnvRef, lVibratorObject, javaMethod_Vibrate, @lParams[0]);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user