OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5f7bf8
)
Fix a naming typo for source_build
author
Tianjie Xu
<xunchang@google.com>
Wed, 15 Jun 2016 19:31:53 +0000
(12:31 -0700)
committer
Tianjie Xu
<xunchang@google.com>
Wed, 15 Jun 2016 19:34:04 +0000
(12:34 -0700)
When parsing the last_install, the variable name is supposed to be
*source_build* instead of *source_version*.
Bug:
28658632
Change-Id: I1e0ed7150e04885f904b6a3efa18bd5cfe17cc96
core/java/android/os/RecoverySystem.java
patch
|
blob
|
history
diff --git
a/core/java/android/os/RecoverySystem.java
b/core/java/android/os/RecoverySystem.java
index
7ff01da
..
dd7be53
100644
(file)
--- a/
core/java/android/os/RecoverySystem.java
+++ b/
core/java/android/os/RecoverySystem.java
@@
-730,7
+730,7
@@
public class RecoverySystem {
if (line.startsWith("time")) {
timeTotal = scaled;
- } else if (line.startsWith("source_
version
")) {
+ } else if (line.startsWith("source_
build
")) {
sourceVersion = scaled;
} else if (line.startsWith("bytes_written")) {
bytesWrittenInMiB = (bytesWrittenInMiB == -1) ? scaled :