Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

拍照后照片会旋转180度 #35

Open
Freshman111 opened this issue Apr 12, 2016 · 3 comments
Open

拍照后照片会旋转180度 #35

Freshman111 opened this issue Apr 12, 2016 · 3 comments

Comments

@Freshman111
Copy link

我看了一下每次从PhotoProcessActivity返回到拍照界面CameraActivity里面时,相机默认变成后置,但是mCurrentCameraId还是保留上次的,CameraActivity加上下面的代码可以解决

@OverRide
protected void onResume() {
super.onResume();
mCurrentCameraId=0;
}

@Skykai521
Copy link
Owner

欢迎发一个pull request

@Freshman111
Copy link
Author

不好意思,github的pull request我没弄过。。以后学学

@Skykai521
Copy link
Owner

没关系,有时间我测试一下我来改,谢谢~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants