Fix and re-apply "[flipper] Automatically set Android devices into the permissive mode"

Summary: Reverts D36263724 (0ee8f09fe5) and fixes the underlying crash by setting only physical devices in the permissive mode

Reviewed By: passy

Differential Revision: D36275055

fbshipit-source-id: 25a691e9c07e20a3341630db508795c133a9bd81
This commit is contained in:
Andrey Goncharov
2022-05-10 08:42:58 -07:00
committed by Facebook GitHub Bot
parent 56ea2fc782
commit 754afd0d2d
3 changed files with 42 additions and 0 deletions

View File

@@ -57,6 +57,7 @@ declare module 'adbkit' {
serial: string,
command: string | string[],
) => Promise<NodeJS.ReadStream>;
root: (serial: string) => Promise<true>;
screencap: (serial: string) => Promise<NodeJS.WriteStream>;
pull: (serial: string, path: string) => Promise<PullTransfer>;
openLogcat: (