Commit graph

4 commits

Author SHA1 Message Date
Jiyong Park
5067fe1a19 Move thermal HAL to vendor partition
In order to build generic system image that is agnostic to SoC or
device, HALs should be moved from system partition to vendor
partition.

Bug: 34826389, 35743509
Test: build & run and check whether the HAL is loaded from
/vendor/lib[64]/hw.
$ su; lsof | grep thermal.

Change-Id: Ia2bb060590f31688528de4a3b9b9ab8fbd376b6c
2017-02-27 13:11:33 +09:00
liuchao
df7d84a049 Add else branch to avoide fclose(NULL)
This fixes a potential NULL-pointer reference crash in case
cpu_file == NULL and pass NULL to fclose().

Test: mm -j 8
Change-Id: Ib3267676bea910533bd85ac2935efe02d361fc6b
2016-11-16 09:26:53 +08:00
Ruben Brunk
53b134045f Update temp limits in thermal HAL impl.
Bug: 27549685
Change-Id: I280610bbfda7d9fb65a7bc42831c4a545ea21757
2016-03-25 13:45:00 -07:00
Polina Bondarenko
25cd7f0fb0 Re-worked hardware_properties to thermal HAL.
Bug: 27424857
Change-Id: Id7212421e499cc33c82e885756d68e89c2317acf
2016-03-17 10:09:24 +01:00