samsung: Migrate to CompoundButton.OnCheckedChangeListener
authorChaohui Wang <chaohuiw@google.com>
Fri, 8 Mar 2024 09:54:40 +0000 (15:24 +0530)
committerLuK1337 <priv.luk@gmail.com>
Wed, 20 Mar 2024 15:54:28 +0000 (16:54 +0100)
commit8fd19f2d7c9b4bc6242fb4e47aace82cf9a8bc27
treeafc596166e5baee8c1bf5b43f758ab257e047e5b
parent8b14999cd08fa50eec36e0fb84662469bcf6b510
samsung: Migrate to CompoundButton.OnCheckedChangeListener

Switch and SwitchCompat are both CompoundButton.

Using CompoundButton in Java will helps migration in the future.

Bug: 306658427 | AOSP
Test: manual - check Settings pages
Test: m RunSettingsLibRoboTests
Signed-off-by: RisenID <risen@pixelexperience.org>
Change-Id: I85a70d4c504d8584030ea4a058f30d74206ab835
dap/src/org/lineageos/dap/DolbyFragment.kt
doze/src/org/lineageos/settings/doze/SamsungDozeSettings.java