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

Commit e36fa41c authored by Muhammad Qureshi's avatar Muhammad Qureshi
Browse files

Pass the supportQ flag to stats-log-api-gen

Statsd is becoming a Mainline module in R. As part of that effort,
the logging schema has been updated. However, mainline modules
using statsd that are updated in Q still need to use the legacy
schema.
So we've added support for that in the autogeneration tool by
passing a
flag to support legacy logging schema.

Note: this change is not needed if this module will not be
updated in Q.

Bug: 145624233
Test: m
Test: flashes successfully
Change-Id: I1417512bcaec6074c984da1dd19144277094820e
parent 104e1550
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ java_library {
genrule {
    name: "statslog-docsui-java-gen",
    tools: ["stats-log-api-gen"],
    cmd: "$(location stats-log-api-gen) --java $(out) --module docsui --javaPackage com.android.documentsui --javaClass DocumentsStatsLog",
    cmd: "$(location stats-log-api-gen) --java $(out) --module docsui --javaPackage com.android.documentsui --javaClass DocumentsStatsLog --supportQ",
    out: ["com/android/documentsui/DocumentsStatsLog.java"],
}