Merge "hwc: Add NULL check for gralloc private_hnd_t"