[fenix] For https://github.com/mozilla-mobile/fenix/issues/18731: remove anonymous...
commitc256789eb8e9dea5df8273cf10a5c95c29a4123b
authorMichael Comella <michael.l.comella@gmail.com>
Wed, 31 Mar 2021 16:30:18 +0000 (31 09:30 -0700)
committerMichael Comella <759372+mcomella@users.noreply.github.com>
Thu, 1 Apr 2021 20:19:49 +0000 (1 13:19 -0700)
treec3576ce2f8d881ad3799a35c2dd152322fac2fb8
parent3e12c870b1df849c16c34645d964d72bd999d2dd
[fenix] For https://github.com/mozilla-mobile/fenix/issues/18731: remove anonymous classes from StrictModeManager.

After this change, I took 3 profiles: the new code appeared in the profiler
only once and only for one sample (i.e. possibly just got unlucky). It
seems to be improved. Profiles:
- https://share.firefox.dev/3wifiV2 (captured it)
- https://share.firefox.dev/39xgdHz
- https://share.firefox.dev/2QMdlA0
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/perf/StrictModeManager.kt