commit | adce874c7984b310b42dde98f7ee579b9f6629cf | [log] [tgz] |
---|---|---|
author | Sergey Volk <servolk@google.com> | Mon Dec 04 20:41:08 2023 +0000 |
committer | Sergey Volk <servolk@google.com> | Mon Dec 11 20:15:19 2023 +0000 |
tree | b5b62e1d8c0ae3b51907e1b68ebd57a815cb9481 | |
parent | f97887d8e2dc86450a8ce612135f61adec1fd475 [diff] |
libhwc2.1: Allow display logging from const methods The DISPLAY_LOGE macro is using the saveErrorLog function, which takes a non-const ExynosDisplay parameter, which make it impossible to use this macro in const methods. The logging actually doesn't change the object state, so we can mark the ExynosDisplay parameter as const. Bug: 299682821 Test: presubmit Change-Id: Id341325b2d6ccb42257166612531e581e0b2c10d