Suppress SparseArray lint warning in Mojo RouterImpl

org.chromium.mojo.bindings.RouterImpl uses a HashMap<Long, MessageReceiver> to store the callbacks for all Mojo method calls.

Lint complains that this causes unnecessary garbage collection thrashing due to boxing/unboxing of the long map keys, and instead recommends to use an android.util.LongSparseArray.

But LongSparseArray is probably not suitable either, since the documentation says it's "not intended to be appropriate for data structures that may contain large numbers of items".

This patch suppresses the warning for now.

BUG=600699

Review URL: https://codereview.chromium.org/1850793002

Cr-Commit-Position: refs/heads/master@{#385201}


CrOS-Libchrome-Original-Commit: 4d8bdcdeae1ffd4e969e65c8cc87b4491c4d3d1f
1 file changed
tree: 85c63bd6e08e45d6c51f7519a693faa5a599a9c7
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/