commit | 6730c19cc98b40fef8ce62ddcfafefc740c158e5 | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Mon Mar 26 14:40:24 2018 -0700 |
committer | Greg Kaiser <gkaiser@google.com> | Mon Mar 26 14:40:24 2018 -0700 |
tree | 5d631386d07c9153457ae1fe80a9922502d20561 | |
parent | f033404b7e5e55c4794e5ee0f4d7c67025be4466 [diff] |
HidlCache: Minor code readability change The locked() method returns a bool, so we change the check of it to a boolean check, instead of an integral comparison. This should have no behavioral change, as the integral comparison was equivalent to this boolean one. But the code should be a little clearer to read. Test: Treehugger Change-Id: I05ab025cf4d87e2499f2c96fb265eb207294d61a