JavaDoc追加

This commit is contained in:
ろむねこ 2024-07-11 15:06:30 +09:00
parent 1d01e217b6
commit 712d33d607
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -151,6 +151,9 @@ public class TestService extends Service {
return PendingIntent.getActivity(context, requestCode, intent, flags | PendingIntent.FLAG_IMMUTABLE);
}
/**
* デバイスをバイブレーションさせる
*/
private void vibrateDevice() {
Vibrator vibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE);
if (vibrator.hasVibrator()) {