sdm: hwc2: Add static uevent thread.
- Create a singleton uevent listener thread valid
for life of hardware composer process. This
thread blocks on uevents poll inside uevent
library implementation. This poll exits only
when there is a valid uevent, it can not be
interrupted otherwise. Tieing life cycle
of this thread with HWC session cause HWC
deinitialization to wait infinitely for the
uevent thread to exit.
- Fix strcasestr argument order.
Change-Id: Ib158a247502b096dee2f9e85fa95c0725aaa2d57
CRs-Fixed: 2037067
2 files changed