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

Commit f3c627f2 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: I9b72782dd3e34b8acd546e4b071e82ee01bac4c8
parent 21b8193e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
genrule {
    name: "statslog-permissioncontroller-java-gen",
    tools: ["stats-log-api-gen"],
    cmd: "$(location stats-log-api-gen) --java $(out) --module permissioncontroller --javaPackage com.android.permissioncontroller --javaClass PermissionControllerStatsLog",
    cmd: "$(location stats-log-api-gen) --java $(out) --module permissioncontroller --javaPackage com.android.permissioncontroller --javaClass PermissionControllerStatsLog --supportQ",
    out: ["com/android/permissioncontroller/PermissionControllerStatsLog.java"],
}