Some Client related cleanups

Summary:
Client up `client.device` (which had no code references anymore) / `client.deviceSync`. Cleaned up feature code for old SDKs (pre 2, which is 3 years old).

This makes decapitating Client a little simpler in the rest of the stack.

Reviewed By: passy

Differential Revision: D31235436

fbshipit-source-id: 919679c1830e2b9368d0787d7b363c090305edb8
This commit is contained in:
Michel Weststrate
2021-09-29 06:59:28 -07:00
committed by Facebook GitHub Bot
parent 906578cc01
commit ef6e802244
10 changed files with 21 additions and 97 deletions

View File

@@ -204,7 +204,7 @@ export function startPlugin<Module extends FlipperPluginModule<any>>(
device_id: testDevice.serial,
os: testDevice.serial,
},
deviceSync: testDevice,
device: testDevice,
isBackgroundPlugin(_pluginId: string) {
return !!options?.isBackgroundPlugin;
},