Don't use physical orientation to compute area for screenshot

When computing the rotation for the screenshot, don't include the
physical display orientation since it causes the incorrect orientation
for screenshots

Test: Set a physical display orientation and rotate display. This takes
the screenshot with identity = true
Bug: 157164835
Bug: 170056945

Change-Id: Ic938c5ecf09f5389fb0d0f96417ee9f39769a2c4
diff --git a/services/surfaceflinger/DisplayRenderArea.cpp b/services/surfaceflinger/DisplayRenderArea.cpp
index 9a6b328..20486e0 100644
--- a/services/surfaceflinger/DisplayRenderArea.cpp
+++ b/services/surfaceflinger/DisplayRenderArea.cpp
@@ -26,8 +26,7 @@
         return RenderArea::RotationFlags::ROT_0;
     }
 
-    const ui::Rotation orientation = display.getPhysicalOrientation() + display.getOrientation();
-    return ui::Transform::toRotationFlags(orientation);
+    return ui::Transform::toRotationFlags(display.getOrientation());
 }
 
 } // namespace