waleedAhmad1 / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
0 stars 0 forks source link

LocationManager.getProviders(criteria,true) returns disabled provider #646

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Implement Location Manager, and do this:  
Log.d("getProviders",mLocationManager.getProviders(criteria, true).toString());
2. Turn off location on your phone
3. Restart Glass
4. Run app and check the debug

What is the expected output? What do you see instead?
I except anything but remote_gps.. What i Got?
12-17 22:15:42.044    1870-1870/com.example.marcel.showlocation 
D/getProvider﹕ [gps, remote_fused_high_accuracy, remote_gps]

What version of the product are you using? On what operating system?
XE22 - Android - Windows 7 

Please provide any additional information below.
I set second parametr to true so it should return only ENABLED providers

Original issue reported on code.google.com by zar...@gmail.com on 17 Dec 2014 at 9:23

GoogleCodeExporter commented 8 years ago
Btw whats the difference between gps and remote_gps since glass doesn't have 
gps chip?

Original comment by zar...@gmail.com on 17 Dec 2014 at 9:27