mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-20 17:57:29 +00:00
Lock screen orientation after locking audio recorder.
This commit is contained in:
@@ -56,7 +56,7 @@ class VoiceMessageRecordingDelegate(
|
||||
|
||||
fun onRecorderLocked() {
|
||||
voiceRecorderWakeLock.acquire()
|
||||
fragment.requireActivity().requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED
|
||||
fragment.requireActivity().requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_LOCKED
|
||||
}
|
||||
|
||||
fun onRecorderFinished() {
|
||||
|
||||
Reference in New Issue
Block a user