summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Joshua Trask <joshtrask@google.com> 2022-05-05 11:00:03 -0400
committer Joshua Trask <joshtrask@google.com> 2022-05-05 15:12:38 +0000
commit9a43192cef11dcc0e2aafc02cc5efe4a572c4301 (patch)
tree84f66443a5b261879c304d21745943be3e5118bf /libs/androidfw/StringPool.cpp
parent7a0ee72bff07b5f6690ecc9a0c80ad9019c64b18 (diff)
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions