Add navigation bar/secondary handle visibility logs

Add a historical log for when navigation bar and secondary handle are rendered or have their visibility changed using log buffers to capture and dump this data for debugging purposes. Additional information includes: log’s caller method, navbar/secondary handle visibility, immersive mode status.

Flag: NONE
Test: Manually tested in pixel 7. Check output after running "adb shell dumpsys activity service SystemUIAuxiliaryDumpService" in the terminal.
Bug: 311932306
Change-Id: I7de39d8aa0eda249aa7cccfa228c2376bcde9e43
5 files changed