pause playback
This commit is contained in:
parent
002ccfb794
commit
7b1a27d6a6
3 changed files with 7 additions and 31 deletions
|
|
@ -57,5 +57,5 @@ android {
|
|||
|
||||
dependencies {
|
||||
testImplementation 'junit:junit:4.12'
|
||||
implementation 'com.github.axet:android-audio-library:1.0.145' // implementation project(':android-audio-library')
|
||||
implementation 'com.github.axet:android-audio-library:1.0.146' // implementation project(':android-audio-library')
|
||||
}
|
||||
|
|
|
|||
30
app/proguard-rules.pro
vendored
30
app/proguard-rules.pro
vendored
|
|
@ -1,31 +1 @@
|
|||
# Add project specific ProGuard rules here.
|
||||
# By default, the flags in this file are appended to flags specified
|
||||
# in /Users/axet/Library/Android/sdk/tools/proguard/proguard-android.txt
|
||||
# You can edit the include path and order by changing the proguardFiles
|
||||
# directive in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# Add any project specific keep options here:
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
-dontobfuscate
|
||||
|
||||
-keep class com.github.axet.vorbisjni.Vorbis {*;}
|
||||
-keep class com.github.axet.lamejni.Lame {*;}
|
||||
-keep class com.github.axet.opusjni.Opus {*;}
|
||||
|
||||
-keep class com.github.axet.androidlibrary.widgets.SearchView {*;}
|
||||
|
||||
-dontwarn net.sourceforge.javaflacencoder.**
|
||||
-dontwarn com.jssrc.resample.**
|
||||
-dontwarn org.apache.commons.**
|
||||
-dontwarn org.slf4j.**
|
||||
-dontwarn de.innosystec.unrar.**
|
||||
|
|
@ -89,6 +89,12 @@ public class MainActivity extends AppCompatThemeActivity {
|
|||
list = (ListView) findViewById(R.id.list);
|
||||
list.setEmptyView(findViewById(R.id.empty_list));
|
||||
recordings = new Recordings(this, list) {
|
||||
@Override
|
||||
public boolean getPrefCall() {
|
||||
final SharedPreferences shared = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||
return shared.getBoolean(AudioApplication.PREFERENCE_CALL, false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void showDialog(AlertDialog.Builder e) {
|
||||
AlertDialog d = e.create();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue