Fix logging crash in ResolverRankerService model
This was a regression introduced in ag/17913997 because I missed that the legacy code included the ternary `? 0 : 1` to convert from boolean to int value in this (not-type-safe, see b/231577676) API call. Bug: 231491021 Bug: 231577676 Test: compile/presubmit. This doesn't prove that the fix works (we must just not have coverage, or we would've caught the regression the first time) but it does validate the syntax and confirm that there are no other unintended changes (stray keystrokes...). The fix is trivial; this CL simply restores the exact behavior pre- ag/17913997. Change-Id: I706dee50e074da3ca40cde5b83abfd076a271959
Loading
Please register or sign in to comment