Skip to content
Commit 41b8b1fa authored by Garfield Tan's avatar Garfield Tan
Browse files

Avoid calling getTopMostTask() twice in Task#fillTaskInfo()

getTopMostTask() is a expensive recursive call that we know won't change
result in a single fillTaskInfo() call, so let's stop calling it twice
in a request.

Bug: 174209413
Test: Builds.
Change-Id: I8239f6e812d41d636573d33f2053bf361db3fc8d
parent fe52b872
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment