diff options
| author | 2024-10-07 15:08:52 +0800 | |
|---|---|---|
| committer | 2024-10-07 15:09:25 +0800 | |
| commit | b42a35104d86eb81ef100b6f12b41a3667541b64 (patch) | |
| tree | 5a1a9a33ee6908237d1e012f525eed774e9b8111 /api/api_test.go | |
| parent | d8aa9a2a6156c355cae1e2b1e9bc863d09765499 (diff) | |
Reduce unnecessary invocation of fillTaskInfo
The getTaskInfo invokes fillTaskInfo, which is heavy to fill lots of
fields. But the specified caller only needs 2 attributes of the task,
which is unnecessary to get entire task info that populates many
unrelated fields.
Bug: 297502610
Flag: EXEMPT remove unnecessary invocation
Test: atest DesktopModeLaunchParamsModifierTests
Change-Id: I99a9e5306bf16d614ab4f6791f399b3cfe4ff314
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions