[fenix] For https://github.com/mozilla-mobile/fenix/issues/13959: change StrictModeMa...
commit885197c7490c9bf37fa0d74549e86c3b906f0aac
authorMichael Comella <michael.l.comella@gmail.com>
Thu, 24 Sep 2020 22:21:15 +0000 (24 15:21 -0700)
committerMichael Comella <mcomella@fastmail.com>
Tue, 29 Sep 2020 01:01:19 +0000 (28 18:01 -0700)
tree5a1f8bf5c7752e00eeb543eec946e155b38acaeb
parentde197d75c532608787852ece335e45de8a331705
[fenix] For https://github.com/mozilla-mobile/fenix/issues/13959: change StrictModeManager to class from object.

I originally tried to create this PR leaving this as an object to keep
the change simple but it wasn't worth it - once the object started to
keep state, we'd need to manually reset the state between runs. Also,
the tests were already getting hacky with static mocking so it was
easier to address some of those issues this way too.
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/FenixApplication.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/HomeActivity.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/StrictModeManager.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/Components.kt
mobile/android/fenix/app/src/test/java/org/mozilla/fenix/StrictModeManagerTest.kt