DreamActivity is SHOW_WHEN_LOCKED
Previously DreamService was just setting the layout param on the window, which mostly works because of special casing for dream occluding the lockscreen. However, that special case has some races that are already dealt with well by the Activity attr logic (because keyguard occlusion state is otherwise based on activity flags, not window flags) so setting the Activity-level flag puts keyguard in the right state earlier on. Bug: 337917376 Change-Id: I6e7e2ff8c89035775f7f02e22f43b15d7d2a5c08 Flag: EXEMPT bugfix Test: atest DreamManagerServiceTests
Loading
Please register or sign in to comment