summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Jeff Sharkey <jsharkey@google.com> 2023-03-10 14:07:06 -0700
committer Jeff Sharkey <jsharkey@google.com> 2023-03-14 17:13:12 -0600
commit5e68ab19813d58900e4f5a69c2b2e017cca103a6 (patch)
treecea672c49d594f230b84cd475c7e310381ef4b08 /api/api_test.go
parentf21ef1de30b0bdcb2fd91ab7980ca287c65d25ea (diff)
Resolve requested deferral policy based on caller.
Since there's going to be a very long-tail of broadcasts from the OS sent to apps that we should mark as "defer until active", support the ability to let a sender force a given policy, otherwise fall back to reasonable defaults. To mitigate risk of this CL landing, we're merging this as disabled, and will enable in a future CL. Also cleans up remaining internal usages of deprecated APIs. Bug: 267646347 Test: treehugger Change-Id: Ib024eabff2a0493507523336e3d0aac8adc325f7
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions