Skip to content
Commit 9a43192c authored by Joshua Trask's avatar Joshua Trask
Browse files

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
parent 7a0ee72b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment