Fix string comparision and return value in try catch block

This CL uses value comparision instead of reference comparision
for strings.
This also removes returning value in finally block, otherwise
exception may be suppressed.

BUG=28605846
TEST=compile
TEST=runtest frameworks-wifi

Change-Id: I6ace4d233d2b0af3627f75dfdb7dcec6a46b0092
5 files changed
tree: 99e5396f0419fbb347d01776d54fb104953f0abf
  1. service/
  2. tests/