Also dispatching that we finished waking up after booting

Previously we only were dispatching the startedWakingUp call
after boot but never actually told our listeners that we also
finished. This could lead to pretty bad bugs where notifications
were stuck visible on AOD because the listener thought that we
were still waking up.

Fixes: 134765187
Test: boot, turn screen off, send pulsing notification, observe that it goes away
Change-Id: I7c8c947d8595b4f785c487a4c375d240f5f5444c
This commit is contained in:
Selim Cinek
2019-06-12 15:47:37 -07:00
parent 04cb6d1ccc
commit 7f33e6df8a

View File

@@ -4863,6 +4863,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
}
}
startedWakingUp(ON_BECAUSE_OF_UNKNOWN);
finishedWakingUp(ON_BECAUSE_OF_UNKNOWN);
screenTurningOn(null);
screenTurnedOn();
}