guardianproject / haven

Haven is for people who need a way to protect their personal spaces and possessions without compromising their own privacy, through an Android app and on-device sensors
https://guardianproject.github.io/haven/
GNU General Public License v3.0
6.62k stars 728 forks source link

Use device preferred orientation; fix #439 #440

Closed lukeswitz closed 3 years ago

lukeswitz commented 3 years ago

Address camera sens/monitor overriding device sensor settings in CameraView instances

Edit: fullSensor vs fullUser: Use device sensor regardless vs. orientation data digestible, rotation respects native user settings.

lukeswitz commented 3 years ago

While changing this I noticed some methods are using orientation where rotation should be used. Could be cause of fringe image rotation issues; while some frame captures check for orientation & rotation, others do not ( Video using a Matrix with postRotate() while regular motion does not). Any review appreciated. thanks all