DNS based techniques dont always work. Some hotspots redirect on data fetch on IP. Use a known pattern match on URL to detect a walled garden instead. Also, added gservices capability to turn off the feature or change the URL & the pattern to match Bug: 4378442 Change-Id: I78b4208d3ea3ace20069169e7c01ed769892d94d