commit | 9b77bffda1e66e84881e940e697531d8d47d430d | [log] [tgz] |
---|---|---|
author | Ken Huang <[email protected]> | Wed Jun 17 09:43:32 2020 +0800 |
committer | Ken Huang <[email protected]> | Wed Jun 17 22:37:00 2020 +0800 |
tree | e9ae6bda8e4784de00ef00557a19db10c2214d26 | |
parent | e2a0cc8f034623b22c47d5720a73946e91ba55e2 [diff] |
sdm: Don't set active config if pending doze SetDisplayState() may set active config without checking pending_doze_, so call DisplayBuiltIn::SetActiveConfig() to protect it. Besides, move change config message to DisplayBase::SetActiveConfig(). Bug: 157783284 Bug: 158890625 Test: suspend/resume/AoD with Smooth Display enable Change-Id: Iac7e4277cc36816c2b8a5be6ca0f4e219e3d08fe