summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Caitlin Shkuratov <caitlinshk@google.com> 2024-06-14 16:56:45 +0000
committer Caitlin Shkuratov <caitlinshk@google.com> 2024-06-17 18:25:07 +0000
commite093a979cad9f2e3bc402b264c9fcc3b8914b531 (patch)
tree4732a58634857e440717aa426f888338eb2e10cb /libs/androidfw/StringPool.cpp
parentab3d4836831ef5ab6dba724ac7af0afc41d8f0af (diff)
[Misc] Convert CastDevice to a Kotlin data class.
For the screen sharing chips implementation (b/332662551), we need to add a new interactor to listen to CastController, and it'll be slightly nicer to add that interactor on top of a Kotlin data class. Also adds: 1) CastDevice#isCasting method instead of re-implementing that logic in many places 2) CastDevice.origin, which will be needed for the screen sharing chips Bug: 332662551 Flag: NONE refactor Test: Use Cast tile to cast to another device, then stop that cast Test: Start sharing your screen to an app, and verify the Cast tile shows cast as active Test: atest CastAutoAddableTest CastTileTest CastControllerImplTest Change-Id: Iaa4a15a6938098b0ce359946558381e45166ec7c
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions