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 06f74f86)
Loading
Please register or sign in to comment