If the recent uproar about Apple’s aggressive iOS tracking logs has you a bit paranoid about what your Android device might be storing, Location Cache makes it simple to view and wipe the location database on your phone.
Once installed you can view the list of locations, view the locations on a map, export the locations if you want to further review the data, and of course delete the entire cache. Location Cache has an additional feature that allows you to use location for apps but no location data will be cached to the disk.
Location Cache works on Android 2.1+ and requires root access. Hit up the link below to read more and grab a copy.