Fix autogrant of location permissions for use-open-wifi apps.

For apps that are targeting pre-Q will get COARSE and BACKGROUND
location permissions.

For apps that are targeting Q+ will get FINE and BACKGROUND location
permissions.

Bug: 124237492
Test: flashed onto walleye and confirmed permission granted when WFA is
enabled.
Change-Id: I1ce73f76c6ebda61f95a3843a77d0055a44b98eb
1 file changed