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

Commit 941547d4 authored by Pablo Gamito's avatar Pablo Gamito
Browse files

Add lint rule to make make sure we update the ProtoLogTool when updating the ProtoLog class name

Flag: NONE lint rule comments only
Test: n/a
Change-Id: I6b03ce62a445f4661c78e46a2f89d8b117fb9c41
parent 06f2a34f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -39,7 +39,9 @@ import com.android.internal.protolog.common.LogLevel;
 * Methods in this class are stubs, that are replaced by optimised versions by the ProtoLogTool
 * during build.
 */
// LINT.IfChange
public class ProtoLog {
// LINT.ThenChange(frameworks/base/tools/protologtool/src/com/android/protolog/tool/ProtoLogTool.kt)

    // Needs to be set directly otherwise the protologtool tries to transform the method call
    public static boolean REQUIRE_PROTOLOGTOOL = true;