Refactor the code for fan direction button

Also add logic to refresh HVAC UI upon change of fan direction.

Test: 1. Launch the KitchenSink app and tap the hvac from menu
Test: 2. Change the FanDirection to any direction
Test: 3. Check whether CarHvacApp status is consistent with KitchenSink

bug: 120169883

Change-Id: I8dd60ccb77d2e24ddc3718b7e9cf61a83bd32303
Signed-off-by: Lei,RayX <>
Signed-off-by: Guobin Zhang <>
12 files changed
tree: e4dfa215e7dc43701fa6524caa72b4a33c87326e
  2. AndroidManifest.xml
  3. res/
  4. src/