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

Skip to content

fix screen orientation overriden by MainActivity.handleIntent(...)

Vincent Bourgmayer requested to merge 1221-fix-screen-rotation into main

Description

In previous state: When user switch screen orientation in AdvancedPrivacy, UI always returned to main Dashboard fragment

Screenshots

Technical details

MainActivity.onPostCreate() always calls onHandleIntent(), then it override previous state. Checking if saveInstanceState is null before to call fix this issue

Tests

Issues

https://gitlab.e.foundation/e/os/backlog/-/issues/1221 => Task #1281

https://gitlab.e.foundation/e/os/backlog/-/issues/1221#note_388502

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/development/code-review

Edited by Vincent Bourgmayer

Merge request reports

Loading