commit | 2dccad6f94bea5bf3edaa21406c0eeb3eae2735b | [log] [tgz] |
---|---|---|
author | bquezada <bquezada@google.com> | Tue Mar 02 19:47:48 2021 +0000 |
committer | Brian Quezada <bquezada@google.com> | Thu Mar 11 15:08:09 2021 +0000 |
tree | 2b2ff4c91a1ea04526a0f6de08f83a58b2826319 | |
parent | 01ab7bcd20f53ef516e61337ca12c1bcb4c7fcc1 [diff] |
Fix dim duration on flip to screen off. Timeouts are calculated from mLastUserActivityTime, so just calling updatePowerStateLocked will go to locked with almost no dim duration. Test: Tested with local device. Bug: 164517126 Change-Id: I084c13fada7613bd745ceb1dc2f7038097d70686