Yu Shan b2d54bf984 Return config using a copy not a pointer.
Introduce VehiclePropertyStore.getPropConfig that returns a copy of
the config instead of a constant pointer. If the internal map is updated,
the pointer might become invalid, so it is safer to just return a copy.

We do not modify the existing API for backward compatibility.

Test: atest VehiclePropertyStoreTest
Bug: 308202443
Change-Id: I769866a09577cc69d25276349b7688cabcbc0c20
2023-12-07 15:09:40 -08:00
2023-09-13 21:18:46 +00:00
2023-09-08 20:25:29 +00:00
2023-10-10 10:30:03 +09:00
2023-12-04 18:51:16 +00:00
2023-04-07 23:41:20 +00:00
2023-10-16 15:02:54 -07:00
2023-09-19 23:48:35 +09:00
2023-04-07 23:41:20 +00:00
2023-11-22 23:01:25 +00:00
2023-09-11 16:21:52 +00:00
2023-10-16 19:12:21 +00:00
2023-09-15 13:16:28 +09:00
2023-09-08 21:06:03 +00:00
2023-12-06 15:42:43 +00:00
2023-09-11 17:03:06 +00:00
2023-12-06 15:53:19 +00:00
2023-11-02 20:49:28 +00:00
2023-10-10 13:46:47 +09:00
2023-09-11 16:32:19 +00:00
2021-10-28 22:04:46 +00:00
2016-08-30 11:28:36 -07:00
2022-08-01 16:19:14 +00:00
Description
No description provided
134 MiB
Languages
C++ 56.3%
AIDL 41.2%
C 1.5%
Rust 0.4%
Java 0.4%
Other 0.1%