commit | 807e8611052be62491bcf45887bb893befc07af7 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu May 02 19:56:42 2019 -0700 |
committer | Colin Cross <ccross@android.com> | Mon May 13 13:42:01 2019 -0700 |
tree | 935afe7675912a2456b4c2f5ca6654c2afec3a60 | |
parent | 90cb5628bb2e5785429caac5aca7e42bb101ed4e [diff] |
Use if instead of switch for resources Converting to Soong will move some code from directly compiled into the app to compiled into an Android library and then shared between the app and the tests. This will cause resource IDs in the library to become non-final, which means they can no longer be used in case statements. Convert affect case statements to if blocks. Test: m RunSettingsRoboTests Change-Id: I25742a374f06d3fa4decbfc0d223a350acc50881