Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a61532f3 authored by Chris Göllner's avatar Chris Göllner Committed by Chris Göllner
Browse files

Fix privacy dot being in the wrong corner on some devices

On some devices, PrivacyDotViewController#initialize receives new view instances as parameters after a rotation event, meaning that the method continues its processing, instead of ignoring the event.

In the #initialize method, we were always using 0 as
the current rotation, when selecting a corner. This means that the top
right corner was always selected.

To fix it, we make sure to read the current rotation in #initialize.

+ Also moves PrivacyDotViewControllerTest.kt to multivalentTests/

Fixes: 321872057
Test: PrivacyDotViewControllerTest.kt
Test: Manually
Flag: NONE
Change-Id: I431d31356f7b6b354ffa5b8f86862805f40bdfb2
parent 5dbd01f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment