diff options
| -rw-r--r-- | services/surfaceflinger/Layer.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index 694230268d..8291578b64 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp @@ -2330,10 +2330,7 @@ InputWindowInfo Layer::fillInputInfo(const sp<DisplayDevice>& display) { InputWindowInfo info = mDrawingState.inputInfo; info.id = sequence; - - if (info.displayId == ADISPLAY_ID_NONE) { - info.displayId = getLayerStack(); - } + info.displayId = getLayerStack(); // Transform that goes from "logical(rotated)" display to physical/unrotated display. // This is for when inputflinger operates in physical display-space. |