mirror of
https://github.com/Myzel394/Alibi.git
synced 2025-06-18 23:05:26 +02:00
fix: Clean settings on reset
This commit is contained in:
parent
0d723bcfd4
commit
6a382e6660
@ -144,10 +144,11 @@ class RecorderService: Service() {
|
|||||||
|
|
||||||
stopForeground(STOP_FOREGROUND_REMOVE)
|
stopForeground(STOP_FOREGROUND_REMOVE)
|
||||||
stopSelf()
|
stopSelf()
|
||||||
resetCoroutineScope()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun reset() {
|
fun reset() {
|
||||||
|
resetCoroutineScope()
|
||||||
|
settings = null
|
||||||
recordingStart = null
|
recordingStart = null
|
||||||
counter = 0
|
counter = 0
|
||||||
amplitudes.clear()
|
amplitudes.clear()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user