sdm: allow commits in doze_suspend as well.
- revert of I495cd9748f6dbdf7b1dd80cffa35759e529ff7cf Bug: 79541227 Change-Id: I50c4227d4855673e093fcba38a6454edaf0e1bf7 CRs-Fixed: 2140924
This commit is contained in:
parent
81fdbfedd9
commit
99c71edb54
|
@ -444,15 +444,9 @@ DisplayError DisplayBase::SetDisplayState(DisplayState state) {
|
|||
break;
|
||||
|
||||
case kStateDoze:
|
||||
error = hw_intf_->DozeSuspend();
|
||||
active = true;
|
||||
break;
|
||||
|
||||
case kStateDozeSuspend:
|
||||
error = hw_intf_->DozeSuspend();
|
||||
if (display_type_ != kPrimary) {
|
||||
active = true;
|
||||
}
|
||||
active = true;
|
||||
break;
|
||||
|
||||
case kStateStandby:
|
||||
|
|
Loading…
Reference in New Issue