summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Josh Tsuji <tsuji@google.com> 2023-11-09 17:03:32 -0500
committer Josh Tsuji <tsuji@google.com> 2023-11-10 20:14:51 +0000
commit35d92c7c0e36053deb624ef704b988ee0b617757 (patch)
tree3d1099300452aa7ed4e5f931cb4316fc72198fda /libs/androidfw/FileStream.cpp
parent4624eedc441e6860ed100020a80f8d4364868cb5 (diff)
Add overloads to Flow.sample to allow sampling multiple flows.
We have an increasing number of flows that sample a combination of several other flows, which results in extra tuple transform boilerplate: a.sample(combine(b, c, d, ::Triple), ::toQuad).collect { (a, b, c, d) -> ... Adding another flow also requires updating both transforms. This cleans that up: a.sample(b, c, d).collect { (a, b, c, d) -> ... Bug: 278086361 Test: N/A Flag: N/A Change-Id: Ic71ea6a23a4138fb8989e9564b0f93d7ae916c74
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions