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

Commit 750041be authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Support string-array type value for bootstrap atom" into main

parents 7897af04 2546ec04
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -26,4 +26,5 @@ union StatsBootstrapAtomValue {
    float floatValue;
    String stringValue;
    byte[] bytesValue;
    String[] stringArrayValue;
}
 No newline at end of file
+3 −0
Original line number Diff line number Diff line
@@ -62,6 +62,9 @@ public class StatsBootstrapAtomService extends IStatsBootstrapAtomService.Stub {
                case StatsBootstrapAtomValue.bytesValue:
                    builder.writeByteArray(value.getBytesValue());
                    break;
                case StatsBootstrapAtomValue.stringArrayValue:
                    builder.writeStringArray(value.getStringArrayValue());
                    break;
                default:
                    Slog.e(TAG, "Unexpected value type " + value.getTag()
                            + " when logging atom " + atom.atomId);