Remove unneeded file loader calls.

This commit is contained in:
B. Petersen
2017-03-30 23:35:25 +02:00
parent 0ef81716c5
commit 2cea64ccff
2 changed files with 2 additions and 3 deletions
@@ -2059,7 +2059,7 @@ public class ChatMessageCell extends BaseCell implements SeekBar.SeekBarDelegate
buttonState = BS1_CLICK_TO_PAUSE;
invalidate();
}
} else {
} /* else {
if (currentMessageObject.type == MessageObject.MO_TYPE1_PHOTO) {
photoImage.setImage(currentPhotoObject.location, currentPhotoFilter, currentPhotoObjectThumb != null ? currentPhotoObjectThumb.location : null, currentPhotoFilter, currentPhotoObject.size, null, false);
} else if (currentMessageObject.type == MessageObject.MO_TYPE8_GIF) {
@@ -2074,7 +2074,7 @@ public class ChatMessageCell extends BaseCell implements SeekBar.SeekBarDelegate
}
buttonState = BS1_CLICK_TO_PAUSE;
invalidate();
}
}*/
} else if (buttonState == BS1_CLICK_TO_PAUSE) {
if (documentAttachType == DOCUMENT_ATTACH_TYPE_VOICE || documentAttachType == DOCUMENT_ATTACH_TYPE_MUSIC) {
MediaController.getInstance().stopAudio(); // a click on message-pause should do the opposite of message-play - including clearing the status bar (a "real" pause can be done via the status bar)
@@ -78,7 +78,6 @@ import com.b44t.messenger.FileLog;
import com.b44t.messenger.MessageObject;
import com.b44t.messenger.NotificationCenter;
import com.b44t.messenger.R;
import com.b44t.messenger.UserConfig;
import com.b44t.ui.ActionBar.BackDrawable;
import com.b44t.ui.ActionBar.SimpleTextView;
import com.b44t.messenger.AnimatorListenerAdapterProxy;