The only I have done is I go to settings-> security & location->trust->privacy protection and go in advanced mode from 3 dots at right corner and I check ignored the location for play store, google, facebook,messenger, YouTube, gmail and google drive. I leave it allowed at google play services...