Fix for Location Services

https://gerrit.paranoidandroid.co/#/c/124/
Credit: nbehary@XDA