commit | b584c6eb8cd43d8fc566626a633e3c0b6e33d7de | [log] [tgz] |
---|---|---|
author | Chuanghua Zhao <chuanghua.zhao@mediatek.com> | Wed Oct 17 20:00:04 2018 +0800 |
committer | Isaac Lee <isaac.lee@mediatek.com> | Fri Oct 19 08:28:55 2018 +0000 |
tree | f601ea75bbb9c60f51478b04fc86777278322b0c | |
parent | 1b59a1673a676b5b2a5d36034bce791061723a90 [diff] |
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