Set proper blanking mode for DOZE

In order to support Ambient mode with new HWC 1.4 coming with
Diamond, blanking mode should properly set in setPowerMode implementation.

When setting HWC_POWER_MODE_DOZE, display should not blank as other modes
with display on (HWC_POWER_MODE_NORMAL & HWC_POWER_MODE_DOZE_SUSPEND).

Change-Id: I24409ea6e57159c10fb425de0b66ba334810118f
Tracked-On: https://jira01.devtools.intel.com/browse/MARVIN-650
Signed-off-by: Victor Tasayco Loarte <victorx.tasayco.loarte@intel.com>
Reviewed-on: https://android.intel.com:443/370542
diff --git a/merrifield/common/devices/PhysicalDevice.cpp b/merrifield/common/devices/PhysicalDevice.cpp
index a7e52cd..dc72a00 100644
--- a/merrifield/common/devices/PhysicalDevice.cpp
+++ b/merrifield/common/devices/PhysicalDevice.cpp
@@ -514,8 +514,8 @@
     // TODO: set proper blanking modes for HWC 1.4 modes
     switch (mode) {
         case HWC_POWER_MODE_OFF:
-        case HWC_POWER_MODE_DOZE:
             return blank(true);
+        case HWC_POWER_MODE_DOZE:
         case HWC_POWER_MODE_NORMAL:
         case HWC_POWER_MODE_DOZE_SUSPEND:
             return blank(false);