Skip to content

Commit b03c410

Browse files
committed
add more logging, up the build version, add debug config for builds
1 parent 905771e commit b03c410

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

app/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ android {
2323

2424
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
2525
}
26+
27+
debug {
28+
minifyEnabled false
29+
shrinkResources false
30+
}
2631
}
2732
compileOptions {
2833
sourceCompatibility JavaVersion.VERSION_1_8

app/src/main/java/bluepie/ad_silence/Utils.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ class Utils {
8080
} else {
8181
audioManager?.setStreamMute(AudioManager.STREAM_MUSIC, true)
8282
}
83+
Log.v(TAG,"device music steam muted")
8384
addNotificationHelper?.updateNotification("AdSilence, ad-detected")
8485
}
8586

@@ -97,6 +98,7 @@ class Utils {
9798
} else {
9899
audioManager?.setStreamMute(AudioManager.STREAM_MUSIC, false)
99100
}
101+
Log.v(TAG, "device music stream unmuted")
100102
addNotificationHelper?.updateNotification("AdSilence, listening for ads")
101103
}
102104

0 commit comments

Comments
 (0)