commit | e13375b465b286cd6b988ac4294e43698c61b685 | [log] [tgz] |
---|---|---|
author | Quang Luong <qal@google.com> | Tue Mar 07 20:46:12 2023 +0000 |
committer | Quang Luong <qal@google.com> | Tue Mar 07 20:46:12 2023 +0000 |
tree | a4c1f22773518e1a3f72c8fe9e41f6ee27189ed4 | |
parent | 9caa9528039a668754adcf0733785333ea5256a7 [diff] |
Key SoftApManager by iface name instead of WifiApIface HalDeviceManager uses WifiApIface as an ArrayMap key to look up SoftApManagers, but the Aidl implementation of WifiApIface does not give unique hash codes. Since hashCode() is undefined for these objects, use the iface name for the key instead. Bug: 271201238 Test: atest HalDeviceManagerTest Change-Id: I8badcb2bd5e522652ca939fa15c6b1dbbfc11b17