Skip to content

Commit

Permalink
add ACCESS_BACKGROUND_LOCATION to PermissionsAndroid (#26562)
Browse files Browse the repository at this point in the history
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 8c099b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Libraries/PermissionsAndroid/PermissionsAndroid.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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,
Expand Down

0 comments on commit 8c099b5

Please sign in to comment.