|
|
|
@ -685,7 +685,8 @@ public class VideoFragment extends Fragment implements View.OnClickListener, Med
|
|
|
|
|
if (mOrientation != -1) {
|
|
|
|
|
orientationAdjustment = mOrientation / 90;
|
|
|
|
|
}
|
|
|
|
|
int rotation = (activity.getWindowManager().getDefaultDisplay().getRotation() + orientationAdjustment) % 4;
|
|
|
|
|
int rotation = activity.getWindowManager().getDefaultDisplay().getRotation();
|
|
|
|
|
rotation = orientationAdjustment % 4;
|
|
|
|
|
int orientationHint = 0;
|
|
|
|
|
switch (mSensorOrientation) {
|
|
|
|
|
case SENSOR_ORIENTATION_DEFAULT_DEGREES:
|
|
|
|
|