commit | fe68a8956430b006061449f90162f749279baf06 | [log] [tgz] |
---|---|---|
author | Louis Chang <louischang@google.com> | Tue Jan 02 13:28:53 2024 +0800 |
committer | Louis Chang <louischang@google.com> | Tue Jan 02 13:38:02 2024 +0800 |
tree | 1b79027eda6b3b0cd630e84b55ff6f81c57c385f | |
parent | a2d5f0eb9d39dd16b6445b4534213a708c428a57 [diff] |
Reducing unnecessary activity pause if activity can turn on screen The activity lifecycle is RESUMED->PAUSED->RESUMED while starting a turn-screen-on activity on a multiple display scenario because the activity on the secondary display cannot be resumed while the display is off and therefore put other tasks to sleep. Bug: 298598671 Test: atest ActivityVisibilityTests Change-Id: I98c9fce1aa4a4cdf58e15de40c2d4808d09fe976