thermal-hal: Add support to monitor TZ_CREATE netlink notification

There are some thermal zones those can be created post thermal
hal initialization. It leads to a case where thermal zone
sensor init is failing due to configured sensor is not present
in available thermal zones. To avoid this issue, earlier added
a workaround to restart thermal-hal later.

thermal netlink protocol supports one event notification for
thermal zone creation. Add support to monitor thermal zone
creation event and re-initialize hal sensors.

Remove earlier workaround to restart hal service.

Change-Id: Id1aa6c3b08ada05f4c276d5b749e2c452a3fe2c6
5 files changed