Commit 7328dc3d authored by xshu's avatar xshu Committed by Purushottam Kushwaha
Browse files

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)
parent 892cf289
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment