mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 06:15:12 +00:00
Try to fix camera enum crash
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
04d67829b3
commit
ad53b961b7
@ -432,7 +432,7 @@ public class CallActivity extends AppCompatActivity {
|
||||
if (Camera2Enumerator.isSupported(this)) {
|
||||
cameraEnumerator = new Camera2Enumerator(this);
|
||||
} else {
|
||||
cameraEnumerator = new Camera1Enumerator(false);
|
||||
cameraEnumerator = new Camera1Enumerator(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user