瀏覽代碼

rename method since vibrator implementation has been removed

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 3 年之前
父節點
當前提交
e8930530de
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/src/main/java/com/nextcloud/talk/controllers/CallNotificationController.java

+ 2 - 2
app/src/main/java/com/nextcloud/talk/controllers/CallNotificationController.java

@@ -441,7 +441,7 @@ public class CallNotificationController extends BaseController {
         }
     }
 
-    private void endMediaAndVibratorNotifications() {
+    private void endMediaNotifications() {
         if (mediaPlayer != null) {
             if (mediaPlayer.isPlaying()) {
                 mediaPlayer.stop();
@@ -461,7 +461,7 @@ public class CallNotificationController extends BaseController {
             handler = null;
         }
         dispose();
-        endMediaAndVibratorNotifications();
+        endMediaNotifications();
         super.onDestroy();
     }