Simplify code for return value
This commit is contained in:
parent
3ca7d9b369
commit
49a3d157ee
1 changed files with 1 additions and 4 deletions
|
@ -684,10 +684,7 @@ public class ShuffleFragment extends BaseFragment {
|
|||
|
||||
@Override
|
||||
public boolean onDown(MotionEvent e) {
|
||||
if (control instanceof PlayerView) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
return control instanceof PlayerView;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue