summaryrefslogtreecommitdiff
path: root/debuggerd/handler/debuggerd_handler.cpp
diff options
context:
space:
mode:
authorEvan Ralston <eralston@amazon.com>2017-02-06 11:44:21 -0800
committerEvan Ralston <eralston@amazon.com>2017-02-07 10:46:02 -0800
commit2c2337a293dfcd7a144996048e48c2a54b44c5f8 (patch)
tree03db437156eeff43c51b3e925796ab73738c3827 /debuggerd/handler/debuggerd_handler.cpp
parent9cd890e9b7a1ae1d354815f529a0b3df1dd07aea (diff)
Check against LOG_ID_MAX instead of LOG_ID_KERNEL
Logd currently checks against LOG_ID_KERNEL to determine if a given log_id is available. While this matches with the comments in log.h to always keep LOG_ID_KERNEL at the end it does not match with other checks that Logd makes causing inconsistent behavior. This inconsistency is noticable on devices with log buffers with id's greater than LOG_ID_KERNEL and liblog reports that logd is unavailable while logd would accept the request. Test: compiles. no functional change Change-Id: I0302d9e3f2657706fdf778f1e78e5604abf566e2
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions