Page MenuHomePhabricator

D10033.id33678.diff
No OneTemporary

D10033.id33678.diff

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

Mime Type
text/plain
Expires
Fri, Dec 27, 8:57 PM (6 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2713020
Default Alt Text
D10033.id33678.diff (1002 B)

Event Timeline