kopia lustrzana https://github.com/ryukoposting/Signal-Android
rodzic
8860f792c4
commit
7419570f94
|
@ -512,7 +512,12 @@ final class SignalCameraXModule {
|
|||
return rotationDegrees;
|
||||
}
|
||||
|
||||
@SuppressLint("UnsafeExperimentalUsageError")
|
||||
public void invalidateView() {
|
||||
if (mPreview != null) {
|
||||
mPreview.setTargetRotation(getDisplaySurfaceRotation()); // Fixes issue #10940 (rotation not updated on phones using "Legacy API")
|
||||
}
|
||||
|
||||
updateViewInfo();
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue