Merge "liblog: add bool to android_log_event_list" am: d105aa8496 am: 16d6ed1845

am: e19946d27c

Change-Id: Ic0f19c3525896e92b88d2f9af69b760858b4c422
This commit is contained in:
Mark Salyzyn 2017-06-05 17:51:46 +00:00 committed by android-build-merger
commit 9698d08e05

View file

@ -177,6 +177,12 @@ class android_log_event_list {
return *this;
}
android_log_event_list& operator<<(bool value) {
int retval = android_log_write_int32(ctx, value ? 1 : 0);
if (retval < 0) ret = retval;
return *this;
}
android_log_event_list& operator<<(int64_t value) {
int retval = android_log_write_int64(ctx, value);
if (retval < 0) ret = retval;