summaryrefslogtreecommitdiff
path: root/native/android/thermal.cpp
diff options
context:
space:
mode:
author Steve Elliott <steell@google.com> 2024-04-25 16:56:02 -0400
committer Steve Elliott <steell@google.com> 2024-05-07 14:39:05 -0400
commit08200af504999cf096d963b32430eb9921cec95e (patch)
tree976e8f06c3c7b9bc8ba02feecfd623632b556f11 /native/android/thermal.cpp
parent5044cdfd8c328c68a65653c943c24226fb8aec03 (diff)
[flexiglass] Introduce rememberSession {} API
This API allows for composables to associate a `remember` with a session object, so that the state is maintained even when the composable exits the composition. For flexiglass, this is useful because it allows state to be preserved across scenes; this allows for notification scroll position to be preserved after going to-then-from Bouncer, for example. Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT Test: (with follow-up CL) 1. Open Shade 2. Scroll notifications 3. Go to Bouncer 4. Return to Shade, observe scroll state preserved Change-Id: I37ed03d0dd95d6e01d064a693a46f73cebb2ff0b
Diffstat (limited to 'native/android/thermal.cpp')
0 files changed, 0 insertions, 0 deletions