sdm: allow commits in doze_suspend as well.

- revert of I495cd9748f6dbdf7b1dd80cffa35759e529ff7cf

Bug: 79541227

Change-Id: I50c4227d4855673e093fcba38a6454edaf0e1bf7
CRs-Fixed: 2140924
This commit is contained in:
Rajavenu Kyatham 2018-03-22 12:39:36 +05:30 committed by Alain Vongsouvanh
parent 81fdbfedd9
commit 99c71edb54
1 changed files with 1 additions and 7 deletions

View File

@ -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: