Skip to content
Commit 241a7898 authored by Nick Chameyev's avatar Nick Chameyev
Browse files

[Fold to AOD] Play fold to AOD even if we already in AOD on the inner screen

Adds logic that plays fold to AOD animation even if
we were already dozing on the inner screen.

The aprroach is similar to the unfold animation:
we use the first screen turn on event after
the system reported that we are folded to trigger
the animation.

Bug: 202844967
Test: phone is dozing on the inner screen, fold
 => fold to aod animation is playing
Test: phone is folded and dozing, distance sensor
 is covered, uncover distance sensor
 => fold to aod animation is not playing
Test: lock/unlock phone when aod enabled/disabled
Change-Id: I85008924d7565bff217696ffa95cca0149f47650
parent ddb497d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment