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

Commit 5786bbbc authored by William Escande's avatar William Escande
Browse files

ErrorProne: disable AndroidFrameworkEfficientCollections

[AndroidFrameworkEfficientCollections] Consider replacing with
SparseArray for efficiency

Bug: 344658662
Test: m Bluetooth
Flag: Exempt refactor
Change-Id: I4ece7ee908b3e23b8f0fd95084758b2fd46b3062
parent 80c86846
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -356,7 +356,15 @@ android_app {
            "-Xep:UnusedNestedClass:ERROR",
            "-Xep:UnusedVariable:ERROR",
            "-Xep:WaitNotInLoop:ERROR",
            "-XepExcludedPaths:.*/srcjars/.*", // Exclude generated files

            // After fixing this errorprone, we decided to not merge the change.
            // It is not very readable and the benefits are minimal when looking
            // at the size of the maps used in the Bluetooth application.
            // See https://r.android.com/3200511
            "-Xep:AndroidFrameworkEfficientCollections:OFF",

            // Exclude generated files
            "-XepExcludedPaths:.*/srcjars/.*",
        ],
    },
    min_sdk_version: "Tiramisu",