From 82f35621e2aa6f8f064ccd140e7b9f08af802b3b Mon Sep 17 00:00:00 2001 From: "Dr. Tobias Quathamer" Date: Thu, 2 Feb 2017 20:46:06 +0100 Subject: [PATCH] Fix method name typo --- .../b44t/ui/Components/ChatActivityEnterView.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/MessengerProj/src/main/java/com/b44t/ui/Components/ChatActivityEnterView.java b/MessengerProj/src/main/java/com/b44t/ui/Components/ChatActivityEnterView.java index d98bfffc5..1ebee4d16 100644 --- a/MessengerProj/src/main/java/com/b44t/ui/Components/ChatActivityEnterView.java +++ b/MessengerProj/src/main/java/com/b44t/ui/Components/ChatActivityEnterView.java @@ -815,7 +815,7 @@ public class ChatActivityEnterView extends FrameLayout implements NotificationCe } startedDraggingX = -1; MediaController.getInstance().startRecording(dialog_id, replyingMessageObject); - updateAudioRecordIntefrace(); + updateAudioRecordInterface(); audioSendButton.getParent().requestDisallowInterceptTouchEvent(true); */ } else if (motionEvent.getAction() == MotionEvent.ACTION_UP || motionEvent.getAction() == MotionEvent.ACTION_CANCEL) { @@ -824,14 +824,14 @@ public class ChatActivityEnterView extends FrameLayout implements NotificationCe startedDraggingX = -1; MediaController.getInstance().stopRecording(1); recordingAudio = false; - updateAudioRecordIntefrace(); + updateAudioRecordInterface(); */ } else if (motionEvent.getAction() == MotionEvent.ACTION_MOVE && recordingAudio) { float x = motionEvent.getX(); if (x < -distCanMove) { MediaController.getInstance().stopRecording(0); recordingAudio = false; - updateAudioRecordIntefrace(); + updateAudioRecordInterface(); } x = x + audioSendButton.getX(); @@ -1524,7 +1524,7 @@ public class ChatActivityEnterView extends FrameLayout implements NotificationCe messageEditText.setLayoutParams(layoutParams); } - private void updateAudioRecordIntefrace() { + private void updateAudioRecordInterface() { if (recordingAudio) { if (audioInterfaceState == 1) { return; @@ -2069,12 +2069,12 @@ public class ChatActivityEnterView extends FrameLayout implements NotificationCe if (recordingAudio) { MessagesController.getInstance().sendTyping(dialog_id, 2, 0); recordingAudio = false; - updateAudioRecordIntefrace(); + updateAudioRecordInterface(); } } else if (id == NotificationCenter.recordStarted) { if (!recordingAudio) { recordingAudio = true; - updateAudioRecordIntefrace(); + updateAudioRecordInterface(); } } else if (id == NotificationCenter.audioDidSent) { audioToSend = (TLRPC.TL_document) args[0];