summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Ahmed Mehfooz <amehfooz@google.com> 2025-02-12 20:33:17 +0000
committer Ahmed Mehfooz <amehfooz@google.com> 2025-02-12 20:33:17 +0000
commit783ecd1cedef85de5b15456799292f668eb649c8 (patch)
treeeba99e477c9ffc9441127c58218976c5918d9cf1 /libs/androidfw/FileStream.cpp
parent974aea57f033e7318047ef2191a7e1327e93a708 (diff)
[Sb][Chips] Add support for composable short time delta chips
This CL adds a TimeRemainingState which can be used to track the duration remaining between now and a given time in the future. Displays the time remaining as "now" if less than a minute, X min if less than an hour, or X hr if more than an hour. Bug: b/372657935 Flag: com.android.systemui.status_bar_chips_modernization Test: unit tests for TimeRemainingState class Test: Make sure short time delta chips are shown and updated screenshot in b/372657935 comment #28 Change-Id: I58eb13f7090e35c52f5a20d222973baf506f79e1
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions