commit | c6c2619ba228ce9e8d38d2d9a4685f9740321da2 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Mon Nov 25 10:26:53 2019 -0800 |
committer | Kenny Root <kroot@google.com> | Mon Nov 25 10:26:53 2019 -0800 |
tree | fe2e0f53a41d3e0dec7e2d7c021edd524fb39012 | |
parent | 9e590914cbc1a7defaa02fed81e3f53362a27cf3 [diff] |
RecoverySystem: do not check if socket is closed LocalSocket does not support checking whether the socket is closed explicitly. The write or read functions will still return IOException when the socket is closed, so just rely on that. Bug: 145102966 Test: Factory reset from Home->Menu->Settings->System->Advanced->Reset options->Erase all Data Change-Id: I9094f07c2f709f4a270af06db8f02e72e1d7faf0