Improve rotationForActivityInDifferentOrientation.

Reusing ActivityRecord#canDefineOrientationForActivitiesAbove in DisplayContent#rotationForActivityInDifferentOrientation

Fix: 266280737
Test: still pass
Change-Id: I02928d4d6f37cd000e915e03d7c59a00d354760a
1 file changed