Skip to content

Commit

Permalink
ProjectTrouble: add show_progress
Browse files Browse the repository at this point in the history
  • Loading branch information
ArianK16a committed Sep 6, 2018
1 parent 17b5c9d commit 2da8dc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions META-INF/com/google/android/updater-script
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ ui_print(" ");
ui_print("*****************************************************");
ui_print("****************** Android 9.0 Pie ******************");
ui_print("*****************************************************");
show_progress(0.650000, 0);
ui_print("Patching vendor image unconditionally...");
block_image_update("/dev/block/bootdevice/by-name/cust", package_extract_file("vendor.transfer.list"), "vendor.new.dat.br", "vendor.patch.dat") ||
abort("E2001: Failed to update vendor image.");
show_progress(0.020000, 10);
show_progress(0.050000, 5);
package_extract_file("boot.img", "/dev/block/bootdevice/by-name/boot");
show_progress(0.200000, 10);
set_progress(1.000000);

0 comments on commit 2da8dc6

Please sign in to comment.