Handle null WifiManager

git-svn-id: https://zxing.googlecode.com/svn/trunk@2842 59b500cc-1b3d-0410-9834-0bbf25fbcc57