Merge "Use 180 degree as general upside down for rotation choice" into sc-v2-dev
This commit is contained in:
@@ -1330,7 +1330,7 @@ public class DisplayRotation {
|
||||
case ActivityInfo.SCREEN_ORIENTATION_USER:
|
||||
case ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED:
|
||||
// Works with any rotation except upside down.
|
||||
return (preferredRotation >= 0) && (preferredRotation != mUpsideDownRotation);
|
||||
return (preferredRotation >= 0) && (preferredRotation != Surface.ROTATION_180);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user