diff --git a/src/utils/CertificateProvider.js b/src/utils/CertificateProvider.js index afceb9ad2..709a4e91d 100644 --- a/src/utils/CertificateProvider.js +++ b/src/utils/CertificateProvider.js @@ -213,8 +213,7 @@ export default class CertificateProvider { deviceCsrFilePath: string, csr: string, ): Promise { - const client = adb.createClient(); - return client.listDevices().then((devices: Array<{id: string}>) => { + return this.adb.listDevices().then((devices: Array<{id: string}>) => { const deviceMatchList = devices.map(device => // To find out which device requested the cert, search them // all for a matching csr file.