diff options
| author | 2023-03-03 21:43:19 +0000 | |
|---|---|---|
| committer | 2023-03-09 17:29:26 +0000 | |
| commit | 42ea6883674e449cbb4d530868c2aac799680d3c (patch) | |
| tree | c20dc6789ddf6277fd6a17692aa2ec8c1fd64a88 /api/api.go | |
| parent | 749de2e17a16ba881b21924b847ce4b441ee34f5 (diff) | |
1/ Initialize assistant state change listeners once with the nav bar helper
- Consolidate the meaning of init/destroy into the
registration/unregistration of the nav bar helper state callbacks.
This allows us to track the case where we are replacing the bars
to prevent churn in unregistering and reregistering shared callbacks
- Using the above, we can only register the assistant content observers
when the first bar is registered, and keep it registered across
bar replacements
Bug: 219035565
Test: atest NavBarHelperTests
Test: atest SystemUITests
Change-Id: I2444bb0b27086b72212ef05b8c975c19a05a35d5
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions