Remove restriction on proximity lock in landscape calling.

This commit is contained in:
Alex Hart
2025-08-15 16:34:36 -03:00
committed by Jeffrey Starke
parent dfdadc9d7a
commit 8992ed047d
2 changed files with 5 additions and 28 deletions

View File

@@ -24,7 +24,6 @@ import org.thoughtcrime.securesms.components.webrtc.EglBaseWrapper;
import org.thoughtcrime.securesms.components.webrtc.GroupCallSafetyNumberChangeNotificationUtil;
import org.thoughtcrime.securesms.database.CallTable;
import org.thoughtcrime.securesms.database.SignalDatabase;
import org.thoughtcrime.securesms.dependencies.AppDependencies;
import org.thoughtcrime.securesms.events.CallParticipant;
import org.thoughtcrime.securesms.events.WebRtcViewModel;
import org.thoughtcrime.securesms.groups.GroupId;
@@ -618,10 +617,6 @@ public abstract class WebRtcActionProcessor {
callParticipant.getVideoSink().setDeviceOrientationDegrees(sinkRotationDegrees);
}
AppDependencies.getSignalCallManager()
.getLockManager()
.updateOrientation(Orientation.fromDegrees(orientationDegrees));
return currentState.builder()
.changeLocalDeviceState()
.setOrientation(Orientation.fromDegrees(stateRotationDegrees))