Wait for system event on display change

This commit is contained in:
Kamil Trzcinski 2016-09-03 23:27:58 +02:00
parent 8242cf443f
commit 5d7ae5121e
2 changed files with 32 additions and 32 deletions

View file

@ -356,7 +356,7 @@ static int hwc_device_open(const struct hw_module_t* module, const char* name,
hwc_create_device(); hwc_create_device();
android::add_sysprop_change_callback(hwc_sysprop_changed, 1000); android::add_sysprop_change_callback(hwc_sysprop_changed, 1000);
hwc_sysprop_changed(); //hwc_sysprop_changed();
return err; return err;
} }