Loading lib/common.js +7 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,13 @@ function waitForFrame() { }); } export async function runWithTimedProgress(onProgress, action, item, duration, workPromise) { export async function runWithTimedProgress( onProgress, action, item, duration, workPromise ) { let startTime = new Date().getTime(); let stop = false; Loading lib/factory.js +1 −7 Original line number Diff line number Diff line Loading @@ -13,13 +13,7 @@ const BOOT_CRITICAL_IMAGES = [ ]; // Less critical images to flash after boot-critical ones const SYSTEM_IMAGES = [ "odm", "product", "system", "system_ext", "vendor", ]; const SYSTEM_IMAGES = ["odm", "product", "system", "system_ext", "vendor"]; /** User-friendly action strings */ export const USER_ACTION_MAP = { Loading lib/fastboot.js +3 −8 Original line number Diff line number Diff line Loading @@ -537,12 +537,7 @@ export class FastbootDevice { * @param {ReconnectCallback} onReconnect - Callback to request device reconnection. * @param {FactoryFlashCallback} onProgress - Progress callback for image flashing. */ async flashFactoryZip( blob, wipe, onReconnect, onProgress = () => {} ) { async flashFactoryZip(blob, wipe, onReconnect, onProgress = () => {}) { return await flashFactoryZip(this, blob, wipe, onReconnect, onProgress); } } Loading
lib/common.js +7 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,13 @@ function waitForFrame() { }); } export async function runWithTimedProgress(onProgress, action, item, duration, workPromise) { export async function runWithTimedProgress( onProgress, action, item, duration, workPromise ) { let startTime = new Date().getTime(); let stop = false; Loading
lib/factory.js +1 −7 Original line number Diff line number Diff line Loading @@ -13,13 +13,7 @@ const BOOT_CRITICAL_IMAGES = [ ]; // Less critical images to flash after boot-critical ones const SYSTEM_IMAGES = [ "odm", "product", "system", "system_ext", "vendor", ]; const SYSTEM_IMAGES = ["odm", "product", "system", "system_ext", "vendor"]; /** User-friendly action strings */ export const USER_ACTION_MAP = { Loading
lib/fastboot.js +3 −8 Original line number Diff line number Diff line Loading @@ -537,12 +537,7 @@ export class FastbootDevice { * @param {ReconnectCallback} onReconnect - Callback to request device reconnection. * @param {FactoryFlashCallback} onProgress - Progress callback for image flashing. */ async flashFactoryZip( blob, wipe, onReconnect, onProgress = () => {} ) { async flashFactoryZip(blob, wipe, onReconnect, onProgress = () => {}) { return await flashFactoryZip(this, blob, wipe, onReconnect, onProgress); } }