Wait for system event on display change
This commit is contained in:
parent
8242cf443f
commit
5d7ae5121e
2 changed files with 32 additions and 32 deletions
|
@ -356,7 +356,7 @@ static int hwc_device_open(const struct hw_module_t* module, const char* name,
|
|||
hwc_create_device();
|
||||
|
||||
android::add_sysprop_change_callback(hwc_sysprop_changed, 1000);
|
||||
hwc_sysprop_changed();
|
||||
//hwc_sysprop_changed();
|
||||
|
||||
return err;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue