buglabs / android

This is the top-level git repo for the Android on BUG 2.0 project. Refer to the start page for further details:
http://buglabs.github.com/android/
5 stars 1 forks source link

Fix AGPS build hack in frameworks-base. #31

Open kgilmer opened 13 years ago

kgilmer commented 13 years ago

For GPS to work on BUG20, AGPS must be disabled. It is enabled by default in the Android build but seems only configurable at runtime, via a system setting. See

frameworks/base/location/java/com/android/internal/location/GpsLocationProvider.java Line 909 for details

The hack solution is to hardcode to non-assisted GPS. A better approach would be to utilize some kind of build flag so the framework java code would not have to change from upstream.