Merge branch 'audiorecorder-3.5.16'

This commit is contained in:
Alexey Kuznetsov 2023-07-19 22:10:56 +03:00
commit a60251c3cc
5 changed files with 12 additions and 14 deletions

View file

@ -8,9 +8,9 @@ android {
defaultConfig {
applicationId "com.github.axet.audiorecorder"
minSdkVersion 9
targetSdkVersion 30
versionCode 371
versionName "3.5.15"
targetSdkVersion 31
versionCode 372
versionName "3.5.16"
}
signingConfigs {
release {
@ -53,7 +53,7 @@ android {
dependencies {
testImplementation 'junit:junit:4.12'
implementation ('com.github.axet:android-audio-library:1.1.16') // implementation project(':android-audio-library')
implementation ('com.github.axet:android-audio-library:1.1.18') // implementation project(':android-audio-library')
implementation ('com.github.axet:wget:1.7.0') { exclude group: 'org.json', module: 'json' }
assets('com.google.android.exoplayer:exoplayer:2.7.3') { exclude group: 'com.android.support' }
}

View file

@ -30,7 +30,7 @@
android:name=".services.TileService"
android:icon="@drawable/ic_mic_24dp"
android:label="@string/tile_start_recording"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE" android:exported="true">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter>
@ -78,14 +78,14 @@
<action android:name="com.htc.intent.action.QUICKBOOT_POWERON" />
</intent-filter>
</receiver>
<receiver android:name=".services.OnUpgradeReceiver">
<receiver android:name=".services.OnUpgradeReceiver" android:exported="true">
<intent-filter>
<action android:name="android.intent.action.PACKAGE_REPLACED" />
<data android:scheme="package" />
</intent-filter>
</receiver>
<receiver android:name=".services.OnExternalReceiver">
<receiver android:name=".services.OnExternalReceiver" android:exported="true">
<intent-filter>
<action android:name="android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE" />
</intent-filter>
@ -97,4 +97,4 @@
android:exported="false"
android:grantUriPermissions="true" />
</application>
</manifest>
</manifest>

View file

@ -39,8 +39,6 @@ public class RecordingSourcePreferenceCompat extends com.github.axet.audiolibrar
}
public boolean isSourceSupported(String s) {
if (s.equals(AudioApplication.PREFERENCE_SOURCE_RAW) && !Sound.isUnprocessedSupported(getContext()))
return false;
if (s.equals(AudioApplication.PREFERENCE_SOURCE_INTERNAL) && Build.VERSION.SDK_INT < 29)
return false;
AudioManager am = (AudioManager) getContext().getSystemService(Context.AUDIO_SERVICE);

View file

@ -5,8 +5,8 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.2'
classpath 'com.github.axet:gradle-android-dx:0.1.3'
classpath 'com.android.tools.build:gradle:3.5.4'
classpath 'com.github.axet:gradle-android-dx:0.3.2'
}
}

View file

@ -1,5 +1,5 @@
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME