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

Commit 9abac8a7 authored by Pablo Gamito's avatar Pablo Gamito
Browse files

Increment protolog version

Because we now dump 64 bit integers instead of 32 bit integers we need to have a different protolog version so we know which viewer config to use in Winscope

Bug: 327002914

Test: collected protolog trace in Winscope
Change-Id: Iab3071952ff7957a11a0f01f09cfaa4306a7f7ae
parent 887a29cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ public class LegacyProtoLogImpl implements IProtoLog {
    private static final int PER_CHUNK_SIZE = 1024;
    private static final String TAG = "ProtoLog";
    private static final long MAGIC_NUMBER_VALUE = ((long) MAGIC_NUMBER_H << 32) | MAGIC_NUMBER_L;
    static final String PROTOLOG_VERSION = "1.0.0";
    static final String PROTOLOG_VERSION = "2.0.0";
    private static final int DEFAULT_PER_CHUNK_SIZE = 0;

    private final File mLogFile;
+1 −1
Original line number Diff line number Diff line
{
  "version": "1.0.0",
  "version": "2.0.0",
  "messages": {
    "7286191062634870297": {
      "message": "Binding proc %s with config %s",
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ package com.android.protolog.tool

object Constants {
        const val NAME = "protologtool"
        const val VERSION = "1.0.0"
        const val VERSION = "2.0.0"
        const val IS_ENABLED_METHOD = "isEnabled"
        const val ENUM_VALUES_METHOD = "values"
}