Skip to content

Commit 8b2c916

Browse files
committed
Add ro.revision property to checkin headers
Early hardware revisions often have known issues. Add the ro.revision property to the header for the checkin reports so known issues can be easily filtered. Change-Id: I337b09ddfa41ebbe7f8f56223392b0bd491f897b
1 parent 39c6526 commit 8b2c916

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

services/java/com/android/server/BootReceiver.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ private void logBootEvents(Context ctx) throws IOException {
8888
final String headers = new StringBuilder(512)
8989
.append("Build: ").append(Build.FINGERPRINT).append("\n")
9090
.append("Hardware: ").append(Build.BOARD).append("\n")
91+
.append("Revision: ")
92+
.append(SystemProperties.get("ro.revision", "")).append("\n")
9193
.append("Bootloader: ").append(Build.BOOTLOADER).append("\n")
9294
.append("Radio: ").append(Build.RADIO).append("\n")
9395
.append("Kernel: ")

0 commit comments

Comments
 (0)