commit | ce1f5cd184d8d4c3e741431768a17f1a51ec9ac8 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Fri Jan 12 07:19:42 2024 +0000 |
committer | Kweku Adams <kwekua@google.com> | Fri Jan 12 07:19:42 2024 +0000 |
tree | 7ababb19968e4ef34abc8dc7dd8117b37b71b968 | |
parent | 4d29ed23c5406cd460ac7ae207b25b3647ebe07b [diff] |
Fix conditional check bug. The power mode change event should only be filtered if launch boost is disabled. That can only occur when the device supports battery saver and has a battery saver state machine instance. Thus, if the battery saver state machine doesn't exist, the power mode change event should not be filtered. Bug: 315728239 Bug: 317053395 Test: N/A Change-Id: I83057cbfa53725b5fc19cc1ca4096b8b4b93d4dd