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

Commit 9228b084 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Support string-array type value for bootstrap atom" into main am: 750041be am: cfd43414

parents bb0e2c55 cfd43414
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);