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

Skip to content

Fix: Crash when exiting app while rotating the device

Amit Kumar requested to merge hotfix/crash-while-rotating-on-launcher into master

Description

This MR is intended to fix the crashes which occur when user tries to go to home-screen simultaneously moving to BlissLauncher.

Related issues

e/backlog#1048 (closed)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Related MRs

How has this been tested?

  1. Close all open activities (swipe right to remove them from recent apps)
  2. Enable screen rotation, but keep in portrait
  3. Open Music app (or any other with landscape support)
  4. Rotate phone to get in landscape mode
  5. As soon as the android home button is placed on the right, press it.
  6. BlissLauncher should not crash with this fix.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Edited by Romain Hunault

Merge request reports

Loading