Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3553687
D10033.id33916.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1002 B
Referenced Files
None
Subscribers
None
D10033.id33916.diff
View Options
diff --git a/native/utils/android-permissions.js b/native/utils/android-permissions.js
--- a/native/utils/android-permissions.js
+++ b/native/utils/android-permissions.js
@@ -11,7 +11,7 @@
type PermissionsResult = { +[permission: string]: boolean };
async function getAndroidPermissions(
- permissions: $ReadOnlyArray<string>,
+ permissions: Array<string>,
checkOrRequest: CheckOrRequest,
throwExceptions?: ThrowExceptions,
): Promise<PermissionsResult> {
@@ -61,14 +61,14 @@
}
function requestAndroidPermissions(
- permissions: $ReadOnlyArray<string>,
+ permissions: Array<string>,
throwExceptions?: ThrowExceptions,
): Promise<PermissionsResult> {
return getAndroidPermissions(permissions, 'request', throwExceptions);
}
function checkAndroidPermissions(
- permissions: $ReadOnlyArray<string>,
+ permissions: Array<string>,
throwExceptions?: ThrowExceptions,
): Promise<PermissionsResult> {
return getAndroidPermissions(permissions, 'check', throwExceptions);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 27, 8:57 PM (6 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2713020
Default Alt Text
D10033.id33916.diff (1002 B)
Attached To
Mode
D10033: [Flow202][native][skip-ci] [49/x] Make permissions array mutable in android-permissions.js
Attached
Detach File
Event Timeline
Log In to Comment