aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/renderer/command/resample/resample.cpp
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-08-22 19:49:02 -0400
committerCharles Lombardo <clombardo169@gmail.com>2023-08-29 19:42:41 -0400
commit38c7d26ffaa86435f6949714426af39158e9cdfb (patch)
treebf4c56fa33c0e2e15e47ba72b5c624268c6ec219 /src/audio_core/renderer/command/resample/resample.cpp
parent484189d4353ba00b9a990e758ff4945ab753f66b (diff)
android: Prevent infinite switch toggle loop
If something like a lifecycle event happens when this switch is toggled (Ex. whenever the black backgrounds switch is toggled), this could move the switch from the default position and trigger the checked changed listener and restart the loop. Here I just removed the listener at the start so we recycle the view properly still, set the checked state and then add the new listener.
Diffstat (limited to 'src/audio_core/renderer/command/resample/resample.cpp')
0 files changed, 0 insertions, 0 deletions