diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 3620067..fd67a73 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -33,10 +33,6 @@ - - = 1/32){ - playRate *= 0.5; - } - Log.i(TAG, "fast playRate=" + playRate); - videoPlayer.setPlayRate(playRate); - break; - case R.id.btn_slow: - if(playRate <= 32){ - playRate *= 2; - } - Log.i(TAG, "slow playRate=" + playRate); - videoPlayer.setPlayRate(playRate); - break; - default: - break; - } - } - - @Override - void onSelectedFile(String filePath) { - if (surfaceCreated) { - startPlay(filePath); - } - } - -} diff --git a/app/src/main/res/layout/activity_video_handle.xml b/app/src/main/res/layout/activity_video_handle.xml index f2d0070..5d464a8 100644 --- a/app/src/main/res/layout/activity_video_handle.xml +++ b/app/src/main/res/layout/activity_video_handle.xml @@ -79,13 +79,6 @@ android:layout_marginTop="4dp" android:text="@string/video_from_photo"/> -