Fix crash in SurfaceFlinger when hwcomposer doesn't provide a dump method
This commit is contained in:
parent
00aadb5467
commit
586a2c7bc3
1 changed files with 1 additions and 0 deletions
|
|
@ -308,6 +308,7 @@ static int hwc_device_open(const hw_module_t* module, const char* name, hw_devic
|
|||
dev->device.getDisplayConfigs = hwc_get_display_configs;
|
||||
dev->device.getDisplayAttributes = hwc_get_display_attributes;
|
||||
dev->device.registerProcs = hwc_register_procs;
|
||||
dev->device.dump = nullptr;
|
||||
|
||||
*device = &dev->device.common;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue