[fenix] For https://github.com/mozilla-mobile/fenix/issues/15279: LazyMonitored imple...
commitfec59c47a63157d92cdadb9d333174b1651045d2
authorMichael Comella <michael.l.comella@gmail.com>
Fri, 30 Oct 2020 19:51:38 +0000 (30 12:51 -0700)
committerMichael Comella <mcomella@fastmail.com>
Thu, 5 Nov 2020 15:48:17 +0000 (5 07:48 -0800)
tree098a19bc13dbd421c2ef6ca0b20818fa5cf07ec9
parent480c6cde13897a1eaac71c5c2600e92d437a086d
[fenix] For https://github.com/mozilla-mobile/fenix/issues/15279: LazyMonitored implement Lazy + update built-in API use.

By having LazyMonitored implement Lazy, we can continue to pass these
values directly into the ac APIs that require Lazy references. For some
reason, implementing `Lazy.value` can replace `operator fun getValue`
required for delegates.
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/Core.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/perf/LazyMonitored.kt