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

Commit 5fabe69f authored by Tianjie Xu's avatar Tianjie Xu
Browse files

Fix a naming typo for source_build

When parsing the last_install, the variable name is supposed to be
*source_build* instead of *source_version*.

Bug: 28658632
Change-Id: I1e0ed7150e04885f904b6a3efa18bd5cfe17cc96
parent d5f7bf80
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -730,7 +730,7 @@ public class RecoverySystem {


                if (line.startsWith("time")) {
                if (line.startsWith("time")) {
                    timeTotal = scaled;
                    timeTotal = scaled;
                } else if (line.startsWith("source_version")) {
                } else if (line.startsWith("source_build")) {
                    sourceVersion = scaled;
                    sourceVersion = scaled;
                } else if (line.startsWith("bytes_written")) {
                } else if (line.startsWith("bytes_written")) {
                    bytesWrittenInMiB = (bytesWrittenInMiB == -1) ? scaled :
                    bytesWrittenInMiB = (bytesWrittenInMiB == -1) ? scaled :