Merge "hwc: Do not disable mdp comp on external based on primary resolution"
diff --git a/displayengine/libs/hwc/hwc_display.cpp b/displayengine/libs/hwc/hwc_display.cpp
index ce81fdd..66ffcd8 100644
--- a/displayengine/libs/hwc/hwc_display.cpp
+++ b/displayengine/libs/hwc/hwc_display.cpp
@@ -125,6 +125,9 @@
     case HWC_DISPLAY_DPI_Y:
       values[i] = INT32(variable_config.y_dpi * 1000.0f);
       break;
+    case HWC_DISPLAY_SECURE:
+      values[i] = INT32(true); // For backward compatibility. All Physical displays are secure
+      break;
     default:
       DLOGE("Spurious attribute type %d", attributes[i]);
       return -EINVAL;