[fenix] For https://github.com/mozilla-mobile/fenix/issues/18836: prevent StartupActi...
commitf77b40431f13c01d0a936904f2cb0ea0fc860fde
authorMichael Comella <michael.l.comella@gmail.com>
Wed, 7 Apr 2021 22:06:16 +0000 (7 15:06 -0700)
committerMichael Comella <759372+mcomella@users.noreply.github.com>
Tue, 13 Apr 2021 22:10:36 +0000 (13 15:10 -0700)
treee70985e00b9bd45dc0c0659548be440dbf27b274
parent0d4703c8644dd3a9dbe5a0af993e352870b34c72
[fenix] For https://github.com/mozilla-mobile/fenix/issues/18836: prevent StartupActivityLog from growing infinitely.

We do this is as a separate commit over the original implementation
because it's simpler to implement the class without this optimization.
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/perf/StartupActivityLog.kt
mobile/android/fenix/app/src/test/java/org/mozilla/fenix/perf/StartupActivityLogTest.kt