Match screen state change reasons to wakefulness reasons
This change attempts at matching display state reasons to wakefulness reasons, whenever a display state change is driven by a wakefulness change. DisplayPowerRequest now has fields to capture wakefulness change reasons (if the request is driven by a wakefulness change), and these reasons are populated by PowerGroup. DisplayStateController then accounts for these wakefulness change reasons when deciding the display state and state reasons. Bug: 364349703 Flag: com.android.server.power.feature.flags.policy_reason_in_display_power_request Test: atest PowerGroupTest DisplayStateControllerTest Change-Id: I50c528208d90caba30d74daf5e597fa26b555fe2
Loading
Please register or sign in to comment