Commit Graph

2 Commits

Author SHA1 Message Date
Makoto Onuki
a4db6473f7 CountryDetector no longer requires location permissions.
Country information is already available elsewhere (MNC/MCC), so there's no
point enforcing these permissions.

It wasn't properly enforcing the permissions anyway, since the code path in
question was sometimes executed on a handler thread.

Bug 20927020

Change-Id: Ia090664917f7b694e80dd55934db442633bab1d8
2015-05-21 16:29:40 -07:00
Bai Tao
a58a8751b4 Add new system service CountryDetector
a. The CountryDetector detects the country the user is in
   in order of mobile network, location, sim card or locale.
   It will be used by contact and contact provider.

b. All added APIs are hidden at this stage.

Change-Id: I4ba278571ffb6ab6ded0996d4f440a18534f8ed4
2010-07-28 09:45:57 +08:00