@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.cjs
CHANGED
|
@@ -7156,13 +7156,6 @@ class FastbootDevice {
|
|
|
7156
7156
|
logVerbose(`Endpoints: in=${this.epIn}, out=${this.epOut}`);
|
|
7157
7157
|
try {
|
|
7158
7158
|
await this.device.open();
|
|
7159
|
-
// Opportunistically reset to fix issues on some platforms
|
|
7160
|
-
try {
|
|
7161
|
-
await this.device.reset();
|
|
7162
|
-
}
|
|
7163
|
-
catch {
|
|
7164
|
-
/* Failed = doesn't support reset */
|
|
7165
|
-
}
|
|
7166
7159
|
await this.device.selectConfiguration(1);
|
|
7167
7160
|
await this.device.claimInterface(0); // fastboot
|
|
7168
7161
|
}
|