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

Skip to content
Commit 0e351e46 authored by Tracy Zhou's avatar Tracy Zhou
Browse files

Alway create window context of TYPE_NAVIGATION_BAR_PANEL for FloatingRotationButton

FloatingRotationButton is added with TYPE_NAVIGATION_BAR_PANEL. Currently in task bar, we pass the window context with TYPE_NAVIGATION_BAR directly which caused this crash. To ensure safety of this call, we will always create a window context of TYPE_NAVIGATION_BAR_PANEL for handling everything in this class.

Bug: 309053627
Test: with task bar / nav bar unification, tilt the phone to show rotation button. Make sure it doesn't crash
Change-Id: Iefa2460ab8a3dd952101efdff36e181403051f01
parent e35a7ead
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