Skip to content

Commit

Permalink
1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
arpruss committed Sep 16, 2019
1 parent 506d45b commit edd409f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "omegacentauri.mobi.simplestopwatch"
minSdkVersion 4
targetSdkVersion 28
versionCode 19
versionName "1.19"
versionCode 20
versionName "1.20"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,8 @@ public void setAudio(String soundMode) {
}
shortTone.write(tone, 0, shortLength);
AudioManager am = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
am.setStreamVolume(STREAM, am.getStreamMaxVolume(STREAM), 0);
if (options.getBoolean(Options.PREF_BOOST, false))
am.setStreamVolume(STREAM, am.getStreamMaxVolume(STREAM), 0);

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP && boostAudio) {
try {
Expand Down

0 comments on commit edd409f

Please sign in to comment.