Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

getDisplay() raises an exception #24

Open
lelik1973 opened this issue Jul 5, 2021 · 0 comments
Open

getDisplay() raises an exception #24

lelik1973 opened this issue Jul 5, 2021 · 0 comments

Comments

@lelik1973
Copy link

BasicPermissions
CameraPreviewActivity.java
// Get the rotation of the screen to adjust the preview image accordingly.
int displayRotation = getDisplay().getRotation();
Rasing exception on AVD API level 19
Android Studio 4.2.2
compileSdkVersion 30

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

No branches or pull requests

1 participant