Merge "Initialize progress and lastProgress AtomicIntegers" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-03-27 12:03:54 +00:00
committed by Android (Google) Code Review

View File

@@ -1808,13 +1808,13 @@ public class BugreportProgressService extends Service {
* Current value of progress (in percentage) of the bugreport generation as
* displayed by the UI.
*/
AtomicInteger progress;
AtomicInteger progress = new AtomicInteger(0);
/**
* Last value of progress (in percentage) of the bugreport generation for which
* system notification was updated.
*/
AtomicInteger lastProgress;
AtomicInteger lastProgress = new AtomicInteger(0);
/**
* Time of the last progress update.