| Index: third_party/hwcplus/include/hardware/hardware.h
|
| diff --git a/third_party/hwcplus/include/hardware/hardware.h b/third_party/hwcplus/include/hardware/hardware.h
|
| index 416ae390527c9c3b191bf7ef1d5188bc6be88e6f..9466537943e917d322471c0397862cd7b85a299d 100644
|
| --- a/third_party/hwcplus/include/hardware/hardware.h
|
| +++ b/third_party/hwcplus/include/hardware/hardware.h
|
| @@ -225,6 +225,12 @@ int hw_get_module(const char *id, const struct hw_module_t **module);
|
| int hw_get_module_by_class(const char *class_id, const char *inst,
|
| const struct hw_module_t **module);
|
|
|
| +/**
|
| + * Provide a function to handle log messages.
|
| + */
|
| +typedef int (*hwcplus_log_fn_t)(int prio, const char* tag, const char* msg);
|
| +void hwcplus_set_log_fn(hwcplus_log_fn_t fn);
|
| +
|
| __END_DECLS
|
|
|
| #endif /* ANDROID_INCLUDE_HARDWARE_HARDWARE_H */
|
|
|