Skip to content
Commit b584c6eb authored by Chuanghua Zhao's avatar Chuanghua Zhao Committed by Isaac Lee
Browse files

Fix FD leak during ADB shell install.

Temp fileBridge never closed before remove from bridge list,
it will cause socket FD leak during ADB install.

Improvements:
Call FileBridge#forceClose() to close FD.

Test:
1.PMS install and un-install work normal.
2.Socket FD in system_server process not increase during ADB install.

BUG: 117965848
Change-Id: I29951095f66f069263f944787875e22b666e7467
parent 1b59a167
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment