Fix WifiLockManager Death link does not exist
The cause of the issue is that sometimes WifiLocks are added without linkToDeath working properly. Catches the NoSuchElementException inside WifiLockManager to prevent SystemServer from crashing. Bug: 155240535 Test: atest com.android.server.wifi Change-Id: Id9d56b9da184febef7915eb5281ea39f97e51b06 CRs-Fixed: 2672708 [pkushwah: import android.util.Log for logging] (cherry picked from commit cf601559d982f5270e48a888a8826b86b8afc2ee)
Loading