commit | 82d55a2fd2b297862483b2698998b6ec4832136d | [log] [tgz] |
---|---|---|
author | Calin Juravle <calin@google.com> | Tue Mar 20 16:45:08 2018 -0700 |
committer | Calin Juravle <calin@google.com> | Thu Mar 22 18:16:02 2018 +0000 |
tree | c77d5b0b74c85440f29e74df1fc18c49ea92fd19 | |
parent | c7f6eadffc0a243618ce09ee8d6bb8235738135d [diff] |
Add extra checks around the profile file descriptor. Be prepared for RuntimeExceptions by catching Exception instead of RemoteException. Also, make an explicit check that the profile fd is not null and valid. Test: gts ArtManagerHostTest Bug: 76028139 Change-Id: Ic8927a69ad8904ddf7f62f0699ebea5aeb30bdac (cherry picked from commit 06f74f86586313e769cf00d3dbe832c56b02023f)