commit | 9d28e79926147ad12cd93e89cc5669bc5f1ca065 | [log] [tgz] |
---|---|---|
author | Josh Tsuji <tsuji@google.com> | Wed Jun 30 14:57:48 2021 -0400 |
committer | Josh Tsuji <tsuji@google.com> | Wed Jun 30 15:03:09 2021 -0400 |
tree | df22ba6ac39ecacbe0e8713e1b7b59262ef8a610 | |
parent | b65f67968dd3023a8231f6c31014fa7a176d87bd [diff] |
Check whether doze is enabled before starting the screen off animation. We should always have been doing this, but it was masked by the WM color-fade screen off animation and was only visible in certain situations (such as AOD enabled but suppressed by power saver). Fixes: 192380279 Test: screen off with/without power saver Change-Id: I88e3479173cfd32675d45a2801e5ab7518b4d8b0