Skip to content
Permalink
Browse files
add ACCESS_BACKGROUND_LOCATION to PermissionsAndroid (#26562)
Summary:
This PR adds ACCESS_BACKGROUND_LOCATION to PermissionsAndroid. Fixes #26541

## Changelog

[Android] [Changed] - add ACCESS_BACKGROUND_LOCATION to PermissionsAndroid
Pull Request resolved: #26562

Test Plan:
```javascript
PermissionsAndroid.ACCESS_BACKGROUND_LOCATION === 'android.permission.ACCESS_BACKGROUND_LOCATION'
```

Differential Revision: D17660062

Pulled By: cpojer

fbshipit-source-id: 3133504c6065ffb2f46e4dff14d2d662348e0987
  • Loading branch information
dulmandakh authored and facebook-github-bot committed Sep 30, 2019
1 parent ba8b6a7 commit 8c099b5f53405fe0806113ca7ccf0bbe1af92a21
Showing 1 changed file with 2 additions and 0 deletions.
@@ -43,6 +43,7 @@ const PERMISSIONS = Object.freeze({
GET_ACCOUNTS: 'android.permission.GET_ACCOUNTS',
ACCESS_FINE_LOCATION: 'android.permission.ACCESS_FINE_LOCATION',
ACCESS_COARSE_LOCATION: 'android.permission.ACCESS_COARSE_LOCATION',
ACCESS_BACKGROUND_LOCATION: 'android.permission.ACCESS_BACKGROUND_LOCATION',
RECORD_AUDIO: 'android.permission.RECORD_AUDIO',
READ_PHONE_STATE: 'android.permission.READ_PHONE_STATE',
CALL_PHONE: 'android.permission.CALL_PHONE',
@@ -69,6 +70,7 @@ const PERMISSIONS = Object.freeze({

class PermissionsAndroid {
PERMISSIONS: {|
ACCESS_BACKGROUND_LOCATION: string,
ACCESS_COARSE_LOCATION: string,
ACCESS_FINE_LOCATION: string,
ADD_VOICEMAIL: string,

0 comments on commit 8c099b5

Please sign in to comment.