Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit deda6a1b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Progress notification for interactive bugreports"

parents 43a719c2 97a8f0f5
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -362,8 +362,6 @@ public class BugreportProgressService extends Service {

        @Override
        public void onProgress(float progress) {
            // TODO: Make dumpstate call onProgress at 0% progress to trigger the
            // progress notification instantly.
            checkProgressUpdated(mInfo, (int) progress);
        }

@@ -2197,7 +2195,7 @@ public class BugreportProgressService extends Service {
            max = CAPPED_MAX;
        }

        if (newPercentage > oldPercentage) {
        if (progress == 0 || newPercentage > oldPercentage) {
            updateProgressInfo(info, progress, max);
        }
    }