Page MenuHomePhabricator

[Flow202][native][skip-ci] [48/x] Get rid of granted array in android-permissions.js
ClosedPublic

Authored by ashoat on Nov 27 2023, 1:25 AM.
Tags
None
Referenced Files
F3553683: D10032.id33915.diff
Thu, Dec 26, 8:56 PM
F3553682: D10032.id33677.diff
Thu, Dec 26, 8:56 PM
F3553681: D10032.id.diff
Thu, Dec 26, 8:56 PM
F3543888: D10032.diff
Thu, Dec 26, 11:39 AM
Unknown Object (File)
Sun, Dec 22, 7:06 AM
Unknown Object (File)
Sun, Dec 22, 7:05 AM
Unknown Object (File)
Sun, Dec 22, 7:05 AM
Unknown Object (File)
Sun, Dec 22, 7:05 AM
Subscribers

Details

Summary

Git history shows that after 60da4c583a84db6f08c483e366ff9b6294988160, this collection was no longer mutated.

As such, we can simplify the code by removing it.

NOTE: CI will fail on this diff. I considered the possibility of fixing Flow errors BEFORE upgrading Flow, but it wasn't possible... in some cases, the fixes to support the new version of Flow caused errors in the old version. I could have hidden these type errors with $FlowFixMe lines and then later revert those, but that seemed like too much busy work.

Depends on D10031

Test Plan

Confirm the Flow errors go away

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable