summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-08-27 15:16:38 +0800
committer Riddle Hsu <riddlehsu@google.com> 2024-08-27 15:18:40 +0800
commit977f867e7454c54c4d9bbf13d1d851b78aba5397 (patch)
treef6ee203d6e7a865bbd851be741ea280ba7f02359 /libs/androidfw/FileStream.cpp
parent4cc6b39fa5fe44f5b4c71b1447b49b84d745ec6d (diff)
Add a small delay for scheduling idle while sleeping
This is a follow up of [1]. Though that already covers most launch duration, the twice switches of power mode may be unnecessary. So add a small delay to check idle while device is sleeping and there is a launching app, then if the device is unlocked before the delay idle message reaches, the launch power mode can cover entire launch operation. [1]: I2383eaacdef9830a9b6fe638b2953f6a069f8d32 Bug: 332221147 Flag: EXEMPT bugfix Test: Hot launch app from notification on lockscreen. Check trace StartModeLaunch ~ EndModeLaunch. The duration can cover most of "launching: $pkgName". Change-Id: I723ce0da1434c6f69a77c10f19f7826b4f68dbde
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions