@lineageos-infra/android-fastboot 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fastboot.cjs +0 -7
- package/dist/fastboot.cjs.map +1 -1
- package/dist/fastboot.d.ts.map +1 -1
- package/dist/fastboot.min.cjs +1 -1
- package/dist/fastboot.min.cjs.map +1 -1
- package/dist/fastboot.min.mjs +1 -1
- package/dist/fastboot.min.mjs.map +1 -1
- package/dist/fastboot.mjs +0 -7
- package/dist/fastboot.mjs.map +1 -1
- package/package.json +5 -2
package/dist/fastboot.mjs
CHANGED
|
@@ -7153,13 +7153,6 @@ class FastbootDevice {
|
|
|
7153
7153
|
logVerbose(`Endpoints: in=${this.epIn}, out=${this.epOut}`);
|
|
7154
7154
|
try {
|
|
7155
7155
|
await this.device.open();
|
|
7156
|
-
// Opportunistically reset to fix issues on some platforms
|
|
7157
|
-
try {
|
|
7158
|
-
await this.device.reset();
|
|
7159
|
-
}
|
|
7160
|
-
catch {
|
|
7161
|
-
/* Failed = doesn't support reset */
|
|
7162
|
-
}
|
|
7163
7156
|
await this.device.selectConfiguration(1);
|
|
7164
7157
|
await this.device.claimInterface(0); // fastboot
|
|
7165
7158
|
}
|