summaryrefslogtreecommitdiff
path: root/opengl/java/android
diff options
context:
space:
mode:
author Chris Göllner <chrisgollner@google.com> 2024-02-05 15:13:20 +0000
committer Chris Göllner <chrisgollner@google.com> 2024-02-06 10:20:17 +0000
commita61532f38dbd7c129bd7acbf14f67f089a82542a (patch)
treec1c2d451076b9c792709b9f92e45bf64ecf52863 /opengl/java/android
parent5dbd01f05119cb8eb2725bdfec9f7da2ddf74121 (diff)
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
Diffstat (limited to 'opengl/java/android')
0 files changed, 0 insertions, 0 deletions