commit | 7b93931c4ee25eb8617c76c18a0e04ecebf35b69 | [log] [tgz] |
---|---|---|
author | Shruti Bihani <shrutibihani@google.com> | Fri May 05 08:21:21 2023 +0000 |
committer | Olivier Nshimiye <onshimiye@google.com> | Thu May 18 10:24:10 2023 +0000 |
tree | ee21a79c890bc5c16df3798759e5eb7a59ccddff | |
parent | 51f09be106ad96e01a8c1b03d645abcf22576022 [diff] |
Refactor property change listener code. Simplify the if-else conditional statement by converting it into a switch statement and moving lock aquisition and unlocking outside the cases. Bug: 278662935 Test: atest HealthFitnessUnitTests Change-Id: I7ca0c008299d13b2a3de599603cc8cb8f00d49fc (cherry picked from commit 5b15248388926fa92458d4559de4da939c7d0fb9)