Skip to content

Commit 8c099b5

Browse files
dulmandakhfacebook-github-bot
authored andcommitted
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
1 parent ba8b6a7 commit 8c099b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Libraries/PermissionsAndroid/PermissionsAndroid.js

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ const PERMISSIONS = Object.freeze({
4343
GET_ACCOUNTS: 'android.permission.GET_ACCOUNTS',
4444
ACCESS_FINE_LOCATION: 'android.permission.ACCESS_FINE_LOCATION',
4545
ACCESS_COARSE_LOCATION: 'android.permission.ACCESS_COARSE_LOCATION',
46+
ACCESS_BACKGROUND_LOCATION: 'android.permission.ACCESS_BACKGROUND_LOCATION',
4647
RECORD_AUDIO: 'android.permission.RECORD_AUDIO',
4748
READ_PHONE_STATE: 'android.permission.READ_PHONE_STATE',
4849
CALL_PHONE: 'android.permission.CALL_PHONE',
@@ -69,6 +70,7 @@ const PERMISSIONS = Object.freeze({
6970

7071
class PermissionsAndroid {
7172
PERMISSIONS: {|
73+
ACCESS_BACKGROUND_LOCATION: string,
7274
ACCESS_COARSE_LOCATION: string,
7375
ACCESS_FINE_LOCATION: string,
7476
ADD_VOICEMAIL: string,

0 commit comments

Comments
 (0)