Skip to content

Commit 6e15f16

Browse files
committed
Refactor
1 parent 1e55675 commit 6e15f16

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

codec2talkie/src/main/java/com/radio/codec2talkie/MainActivity.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262
import com.radio.codec2talkie.settings.SettingsActivity;
6363
import com.radio.codec2talkie.storage.message.group.MessageGroupActivity;
6464
import com.radio.codec2talkie.tools.AudioTools;
65-
import com.radio.codec2talkie.tools.FlashLight;
6665
import com.radio.codec2talkie.tools.RadioTools;
6766
import com.radio.codec2talkie.transport.TransportFactory;
6867
import com.radio.codec2talkie.connect.UsbConnectActivity;
@@ -688,9 +687,8 @@ public boolean onKeyUp(int keyCode, KeyEvent event) {
688687
public boolean onTouch(View v, MotionEvent event) {
689688
switch (event.getAction()) {
690689
case MotionEvent.ACTION_DOWN:
691-
if (_appService != null) {
690+
if (_appService != null)
692691
_appService.startTransmit();
693-
}
694692
break;
695693
case MotionEvent.ACTION_UP:
696694
v.performClick();

0 commit comments

Comments
 (0)