summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Chaohui Wang <chaohuiw@google.com> 2023-10-28 23:56:05 +0800
committer Chaohui Wang <chaohuiw@google.com> 2023-10-30 01:15:51 +0000
commitfbb0222a8bbcc5ef501f154454f22cebef7d6c1d (patch)
tree9f7aa69509a45668ba7688e0b0f53da6960549e0 /libs/androidfw/FileStream.cpp
parent0e92f892cb6cfbbd85b3ab62982c193e8dca67a1 (diff)
Unify interaction source in SwitchPreference
Let toggleable() & Switch share the same MutableInteractionSource. So when user press SwitchPreference, Switch widget will also have press effect. This is also the same behavior of androidx.preference Also follow best practise to use T or () -> T, instead of State<T> param Bug: 306658346 Test: manual - with Gallery Test: unit test Change-Id: Ibda986fbc034b1cb379d9e7c4c26b22fbd0bc905
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions