summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Tnze <cjd001113@outlook.com> 2022-08-29 20:18:50 +0800
committer JunDao Tnze <tnzejundao@gmail.com> 2022-08-29 12:42:03 +0000
commitf74fde197586486ce88445d2eb0db89a084c3722 (patch)
treeb5bfa21a4827a25cb845cfe5b475a6bea6a85ed1 /api/api.go
parent860bf12b8f17086b5bce6e4f86f1240198684587 (diff)
Use HwLight.type as the key of mLightsByType
There are two paths to consider: - HIDL HAL: We always set hwLight.id == hwLight.type == (byte)i; - AIDL HAL: hwLight.id may be not equals to hwLight.type; This patch use hwLight.type as the key of mLightsByType. Change-Id: I5c8c4df4bb2d6bda44bdd62d2b9ac7d9cb674d3f Signed-off-by: Tnze <cjd001113@outlook.com>
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions