Skip to content

Commit

Permalink
Default talkback instead of beeping at 200, 500 (#113)
Browse files Browse the repository at this point in the history
Co-authored-by: Krzysztof Jędraszek <77445990+kjedrasz2137@users.noreply.github.com>
  • Loading branch information
jankejc and kjedrasz2137 authored May 24, 2023
1 parent b5cb439 commit 40cf29c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Beeper(var context: Context) {
val sharedPreferences = PreferenceManager.getDefaultSharedPreferences(context)
val speakerBeepOnOff = "manage_speaker_beep"

isActive = sharedPreferences.getBoolean(speakerBeepOnOff, true)
isActive = sharedPreferences.getBoolean(speakerBeepOnOff, false)
}

fun getIsActive(): Boolean {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
app:title="@string/talkback_speaker_on_off_title" />

<SwitchPreferenceCompat
app:defaultValue="true"
app:defaultValue="false"
app:key="manage_speaker_beep"
app:summaryOff="@string/speaker_beep_off_summary"
app:summaryOn="@string/speaker_beep_on_summary"
Expand Down

0 comments on commit 40cf29c

Please sign in to comment.