cleanup code after custom vibrate code removal

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2021-10-25 22:01:05 +02:00
parent d0d3c9672d
commit 67df1fb341
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B

View File

@ -31,7 +31,6 @@ import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Vibrator;
import android.renderscript.RenderScript;
import android.text.TextUtils;
import android.util.Log;
@ -149,7 +148,6 @@ public class CallNotificationController extends BaseController {
private MediaPlayer mediaPlayer;
private boolean leavingScreen = false;
private RenderScript renderScript;
private Vibrator vibrator;
private Handler handler;
public CallNotificationController(Bundle args) {
@ -452,10 +450,6 @@ public class CallNotificationController extends BaseController {
mediaPlayer.release();
mediaPlayer = null;
}
if (vibrator != null) {
vibrator.cancel();
}
}
@Override