summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author John Wu <topjohnwu@google.com> 2024-12-05 09:33:57 +0000
committer John Wu <topjohnwu@google.com> 2024-12-05 09:33:57 +0000
commit81fe96be7f14123164fc1b24a14d72a1cb04a57b (patch)
tree07d36a5681e6805110e084f7f610369b0e535ca8 /api/api.go
parent844824aacc8b9f2ac7cf86a397b45108a03b2e5c (diff)
Return early in SaferIntentUtils.blockNullAction when action is not null
All operations can be skipped if the target intent is not null, making the most common case: implicit intent query, basically no-op to improve performance. Bug: 336039853 Test: atest SaferIntentTest Flag: EXEMPT bugfix Change-Id: If162bf2b46bce184213a14200228f1497e76e883
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions