Feature:add permission of midify_audio_settings

pull/221/head
xufuji456 2 years ago
parent 40ed425bb6
commit f04a469c05
  1. 2
      app/src/main/AndroidManifest.xml
  2. 2
      app/src/main/java/com/frank/ffmpeg/activity/MainActivity.kt

@ -10,9 +10,11 @@
<uses-permission android:name="android.permission.RECORD_AUDIO" /> <uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-feature android:name="android.hardware.camera" /> <uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" /> <uses-feature android:name="android.hardware.camera.autofocus" />
<uses-feature android:name="android.hardware.audio.output" android:required="true" />
<application <application
android:name=".FFmpegApplication" android:name=".FFmpegApplication"

@ -2,13 +2,11 @@ package com.frank.ffmpeg.activity
import android.content.Intent import android.content.Intent
import android.os.Bundle import android.os.Bundle
import android.util.Log
import android.view.View import android.view.View
import androidx.recyclerview.widget.RecyclerView import androidx.recyclerview.widget.RecyclerView
import androidx.recyclerview.widget.StaggeredGridLayoutManager import androidx.recyclerview.widget.StaggeredGridLayoutManager
import com.frank.ffmpeg.R import com.frank.ffmpeg.R
import com.frank.ffmpeg.VideoPlayer
import com.frank.ffmpeg.adapter.WaterfallAdapter import com.frank.ffmpeg.adapter.WaterfallAdapter
import com.frank.ffmpeg.listener.OnItemClickListener import com.frank.ffmpeg.listener.OnItemClickListener

Loading…
Cancel
Save