commit | fdd044e16e8e3bff9205056bef6e89edd194be19 | [log] [tgz] |
---|---|---|
author | Brian Isganitis <brianji@google.com> | Thu Mar 02 19:45:23 2023 +0000 |
committer | Brian Isganitis <brianji@google.com> | Fri Mar 03 00:17:33 2023 +0000 |
tree | f59b67cc309d3bfb3b45e914f294f25d44baf441 | |
parent | aa08af872b3a39cefc4f60db511dabf510bc5bd4 [diff] |
Expose IS_RUNNING_IN_TEST_HARNESS as static method. This variable is now mutable, making the uppercase format misleading. For instance, users might assume they can use this value in other immutable properties, when they really should be accessing the latest value every time they need it. Context: https://source.android.com/docs/setup/contribute/code-style#follow-field-naming-conventions Test: Manual Bug: 271160958 Change-Id: Iaaa51d9153cb8a7d686c72e1210b1948029dcfd5