[AI TestGen]
feat(tests): Add tests for taskbar recreation on nav bar state change

Adds unit tests to `TaskbarManagerTest` to verify that the taskbar is correctly created or destroyed when the `SYSUI_STATE_NAVIGATION_BAR_DISABLED` flag changes.

This covers the logic in `isTaskbarEnabled` and its callers (`recreateTaskbarForDisplay`, `onSystemUiFlagsChanged`) which determine the taskbar's lifecycle based on this system UI flag.

Tests are added for both the primary display and connected displays to ensure consistent behavior.


Add additional test coverage for ag/ based on change: ag/34296463.

Flag: TEST_ONLY
Bug: 431235865
Test: atest quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/TaskbarManagerTest.kt passed

Change-Id: If75bbbc45874c2773e87e344c80345e7bb80cd4d
1 file changed