summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Shen Lin <shhenlin@gmail.com> 2023-12-08 11:34:26 +0800
committer Shen Lin <shhenlin@gmail.com> 2023-12-09 02:07:59 +0000
commit38d757b09be4a3f0330705d8c23f7dccb0010040 (patch)
treed096f7eb1cc708f0b9eca5a65604ebba4a1ba505 /libs/androidfw/StringPool.cpp
parent7fd8fcb360a430138aa34a8b38b0a99039462ff1 (diff)
Align the time of bssid comparison to avoid NPE caused by value changes.
This CL contributes the follwing refinements: - The return value of `wifiInfo.getBSSID()` may change when calling outside or inside `synchronized`, so it would be better to migrate the whole `bssid` comparison inside that `synchronized`. - Use `TextUtils` to handle `bssid` Bug: 315308336 Test: m Change-Id: Ie6fce634c9f097e9a866ec44d6de1e5d811a6b3f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions