diff options
| author | 2023-03-03 23:28:56 +0000 | |
|---|---|---|
| committer | 2023-03-09 17:29:27 +0000 | |
| commit | f07c2b4c12e229fb660666bd6526efab30f6415b (patch) | |
| tree | fac7486a1b1d0ecf273a382d815f5053fa318754 /api/api.go | |
| parent | 42ea6883674e449cbb4d530868c2aac799680d3c (diff) | |
2/ Add path for feeding rotation watcher signals to RotationButtonController
- A new rotation button controller is created for each nav/task bar as
  the controller currently is coupled with the view that it updates.
  Since the controller needs to listen for rotation watcher signals,
  we need to pull that out into a persistent place in NavBarHelper for
  the nav bar, but the taskbar flow will continue to use the controller
  to register for these changes.
- Because the flow is now from NavBarHelper -> NavBar -> RBC, we can
  also remove the existing callback from RBC -> NavBar
Bug: 219035565
Test: atest NavBarHelperTests
Test: atest SystemUITests
Change-Id: I2e26d0ce8f4184d1deb25300875ebf9035d7c538
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions