Skip to content

Commit

Permalink
Merge pull request #28 from ZTFtrue/release
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
ZTFtrue authored Apr 29, 2024
2 parents fae9f0c + 6fd2b15 commit 8fba777
Show file tree
Hide file tree
Showing 162 changed files with 27,057 additions and 373 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ dependencies {
implementation("com.github.wendykierp:JTransforms:3.1")
// https://mvnrepository.com/artifact/org.apache.commons/commons-math3
implementation("org.apache.commons:commons-math3:3.6.1")
implementation("be.tarsos.dsp:core:2.5")
// implementation("be.tarsos.dsp:core:2.5")
// https://mvnrepository.com/artifact/org.bitbucket.ijabz/jaudiotagger
implementation("org.bitbucket.ijabz:jaudiotagger:7b004a1")

Expand Down
22 changes: 14 additions & 8 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">


<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"
<uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE"
android:maxSdkVersion="32" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />

<!-- <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />-->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" /> <!-- <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" /> -->
<queries>
<intent>
<action android:name="android.intent.action.PROCESS_TEXT" />

<data android:mimeType="text/plain" />
</intent>
</queries>
Expand All @@ -27,34 +26,41 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.MusicPitch"
android:name=".MyApplication"
tools:targetApi="tiramisu">

<activity
android:name=".ErrorTipActivity"
android:exported="false" />
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleInstance"
android:theme="@style/Theme.MusicPitch">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<service
android:name="com.ztftrue.music.play.PlayService"
android:name=".play.PlayService"
android:enabled="true"
android:exported="false"
android:foregroundServiceType="mediaPlayback">
<intent-filter>
<action android:name="android.media.browse.MediaBrowserService" />
</intent-filter>
</service>

<receiver
android:name="androidx.media.session.MediaButtonReceiver"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>
</receiver>

<provider
android:name="androidx.core.content.FileProvider"
android:authorities="com.ztftrue.music.fileprovider"
Expand All @@ -68,4 +74,4 @@
</provider>
</application>

</manifest>
</manifest>
Loading

0 comments on commit 8fba777

Please sign in to comment.