Fix frameworks base build derps

Change-Id: Ic6176e54fe794a551f1bbace28d31ea3dbcef085
Revert "Quicksettings: Change GPS modes swiching"

This reverts commit b36840d6bed3cffed7f345d9c6e5840dfb4108ea.
Automatic translation import

Change-Id: Ib1cdb754cded8a9e2fbe319199e1905bd7971674
localgroups: fix null pointer access

Change-Id: I2a5805fc00903bc427e62a924b06e10a48d0ffe3
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>