'preset' is allowed to be PRESET_CUSTOM, which is -1, when we use it as an array index in an ALOGVV statement. We change this logic to just use 'name' directly. While this risks a truncation of the string, it avoids out-of-bounds and is probably still sufficient for debugging. Bug: 77720605 Test: TreeHugger Change-Id: Id03829e4ba73764ca23ed8238632ff02946cdebcgugelfrei
parent
d22f3e8933
commit
b9e3657ad5
Loading…
Reference in new issue