fix: 修改拍照方向错误的问题
This commit is contained in:
parent
8aa88879f2
commit
9ffa98c931
@ -77,6 +77,7 @@
|
||||
android:launchMode="singleTop" />
|
||||
<activity
|
||||
android:name=".activity.PhotographActivity"
|
||||
android:screenOrientation="landscape"
|
||||
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|navigation"
|
||||
android:launchMode="singleTop" />
|
||||
|
||||
|
@ -109,7 +109,7 @@ public class PhotographActivity extends BaseActivity implements View.OnClickL
|
||||
if (getIntent() != null) {
|
||||
photo_path = getIntent().getStringExtra(Constant.INTENT_PHOTO_PATH);
|
||||
}
|
||||
this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
|
||||
// this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
|
||||
CameraLogger.setLogLevel(CameraLogger.LEVEL_VERBOSE);
|
||||
cameraView = findViewById(R.id.camera);
|
||||
cameraView.setOnClickListener(this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user