Skip to content

Commit

Permalink
Merge pull request #185 from KieronQuinn/release/2.3.1
Browse files Browse the repository at this point in the history
release/2.3.1
  • Loading branch information
KieronQuinn authored Jun 8, 2023
2 parents 18a913e + 174f458 commit 7275371
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ apply plugin: 'com.google.android.gms.oss-licenses-plugin'
String DEFAULT_MANIFEST = "248:https://storage.googleapis.com/music-iq-db/updatable_ytm_db/20230507-030029/manifest.json"
String DEFAULT_MANIFEST_V3 = "3050:https://storage.googleapis.com/music-iq-db/updatable_db_v3/20230507-030029/manifest.json"

def tagName = '2.3'
def version = 230
def tagName = '2.3.1'
def version = 231

def getKeystoreProperties() {
def properties = new Properties()
Expand All @@ -36,7 +36,7 @@ def getKeystoreProperties() {
}

android {
compileSdk 33
compileSdk 34

defaultConfig {
applicationId "com.kieronquinn.app.ambientmusicmod"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import android.media.musicrecognition.MusicRecognitionManager
import android.media.musicrecognition.RecognitionRequest
import android.os.*
import android.view.IWindowManager
import androidx.core.os.BuildCompat
import androidx.core.os.bundleOf
import com.android.internal.policy.IKeyguardDismissCallback
import com.android.internal.widget.ILockSettings
Expand Down Expand Up @@ -181,7 +180,7 @@ class ShizukuService: IShellProxy.Stub() {
bufferSizeInBytes: Int
): AudioRecord {
return when {
BuildCompat.isAtLeastU() -> createAudioRecordApi34(
Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE -> createAudioRecordApi34(
audioAttributes, audioFormat, sessionId, bufferSizeInBytes
)
Build.VERSION.SDK_INT >= Build.VERSION_CODES.S -> createAudioRecordApi31(
Expand Down

0 comments on commit 7275371

Please sign in to comment.