Skip to content

Commit ba80b4a

Browse files
committed
More {} and spacing changes
1 parent f59108d commit ba80b4a

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

app/src/main/java/protect/videoeditor/activity/AudioPreviewActivity.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@
1313
import protect.videoeditor.views.VisualizerView;
1414
import protect.videoeditor.R;
1515

16-
public class AudioPreviewActivity extends AppCompatActivity {
17-
16+
public class AudioPreviewActivity extends AppCompatActivity
17+
{
1818
private VisualizerView mVisualizerView;
1919

2020
private MediaPlayer mMediaPlayer;
2121
private Visualizer mVisualizer;
2222
private static final String FILEPATH = "filepath";
2323

24-
2524
@Override
2625
protected void onCreate(@Nullable Bundle savedInstanceState)
2726
{

app/src/main/java/protect/videoeditor/activity/MainActivity.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,16 @@ protected void onCreate(Bundle savedInstanceState)
105105
uploadVideo.setOnClickListener(new View.OnClickListener()
106106
{
107107
@Override
108-
public void onClick(View v) {
108+
public void onClick(View v)
109+
{
109110
if (Build.VERSION.SDK_INT >= 23)
111+
{
110112
getPermission();
113+
}
111114
else
115+
{
112116
uploadVideo();
113-
117+
}
114118
}
115119
});
116120

app/src/main/java/protect/videoeditor/views/VisualizerView.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
public class VisualizerView extends View
1212
{
13-
1413
private byte[] mBytes;
1514
private float[] mPoints;
1615
private Rect mRect = new Rect();

0 commit comments

Comments
 (0)