summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2017-01-09 16:18:14 -0800
committerBryce Lee <brycelee@google.com>2017-01-09 16:22:21 -0800
commit834abec877ab33ce189d1c7ff53edcc64fe468f0 (patch)
tree9d73cd83d73935dc3f42ceda83776a0547e5e700 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent16ea7f764056d5cb5b4ee26b20d88c181281f794 (diff)
Amend logic for sending power hint on activity start.
We previously used task boundaries to determine when to send the hint. This does not properly capture the target use case. Additionally, the implementation does not identify this condition properly. The new check is based on comparing the process of the existing resumed activity in the stack. We will send the hint if the process is changing or there is no resumed activity. Bug:32640289 Test: Manual - ran systrace capture script and verified regression resolved (observed consistently over multiple attempts). Change-Id: Ie3cdd17773f3466d9b3c7abb6ec5b4093ddc3631
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions