[fenix] For https://github.com/mozilla-mobile/fenix/issues/17917 - Remove the `kotlin...
commit553eaf74ece596d9f708b1274fd71504f5fc0d99
authorMugurell <Mugurell@users.noreply.github.com>
Thu, 19 Aug 2021 13:46:47 +0000 (19 16:46 +0300)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 24 Aug 2021 10:26:36 +0000 (24 10:26 +0000)
tree87bb8a7d9fc9d6ddfe9872f9699e33b4f3cd81fd
parent50a47d09e4cd555cb0b47c3b98a175c2a9b7dd5c
[fenix] For https://github.com/mozilla-mobile/fenix/issues/17917 - Remove the `kotlin-android-extensions` plugin

This means no code will be generated by Kotlin Android Extensions for caching
views and also for @Parcelize annotated classes.

As recommended in the official documentation
https://developer.android.com/topic/libraries/view-binding/migration#gradle
we need to switch on using `kotlinx.parcelize.Parcelize` instead of
`import kotlinx.android.parcel.Parcelize`

For https://github.com/mozilla-mobile/fenix/issues/17917 - Remove the `kotlin-android-extensions` plugin

This means no code will be generated by Kotlin Android Extensions for caching
views and also for @Parcelize annotated classes.

As recommended in the official documentation
https://developer.android.com/topic/libraries/view-binding/migration#gradle
we need to switch on using `kotlinx.parcelize.Parcelize` instead of
`import kotlinx.android.parcel.Parcelize`
mobile/android/fenix/app/build.gradle
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/PhoneFeature.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/LoginsFragmentStore.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/trackingprotection/TrackingProtectionMode.kt
mobile/android/fenix/config/detekt.yml