diff options
| author | 2023-11-03 00:02:19 -0700 | |
|---|---|---|
| committer | 2023-11-06 21:29:05 -0800 | |
| commit | 0e351e46e0e5b158a7a5ee9ed0cbc14e12551342 (patch) | |
| tree | 25b28770207705d3251440cfad862595088778d0 /api/api.go | |
| parent | e35a7eadf9f88c451a72a13a872eb05aae3bb69f (diff) | |
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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions