code qual

This commit is contained in:
Benoit Marty 2021-12-14 09:03:01 +01:00
parent ea9a524048
commit aad19e4bce
2 changed files with 9 additions and 2 deletions

View file

@ -48,30 +48,37 @@ data class PerformanceTimer(
* The time spent parsing the response from an initial /sync request. * The time spent parsing the response from an initial /sync request.
*/ */
InitialSyncParsing, InitialSyncParsing,
/** /**
* The time spent waiting for a response to an initial /sync request. * The time spent waiting for a response to an initial /sync request.
*/ */
InitialSyncRequest, InitialSyncRequest,
/** /**
* The time taken to display an event in the timeline that was opened from a notification. * The time taken to display an event in the timeline that was opened from a notification.
*/ */
NotificationsOpenEvent, NotificationsOpenEvent,
/** /**
* The duration of a regular /sync request when resuming the app. * The duration of a regular /sync request when resuming the app.
*/ */
StartupIncrementalSync, StartupIncrementalSync,
/** /**
* The duration of an initial /sync request during startup (if the store has been wiped). * The duration of an initial /sync request during startup (if the store has been wiped).
*/ */
StartupInitialSync, StartupInitialSync,
/** /**
* How long the app launch screen is displayed for. * How long the app launch screen is displayed for.
*/ */
StartupLaunchScreen, StartupLaunchScreen,
/** /**
* The time to preload data in the MXStore on iOS. * The time to preload data in the MXStore on iOS.
*/ */
StartupStorePreload, StartupStorePreload,
/** /**
* The time to load all data from the store (including StartupStorePreload time). * The time to load all data from the store (including StartupStorePreload time).
*/ */

View file

@ -30,8 +30,8 @@ import im.vector.app.core.utils.openUrlInChromeCustomTab
import im.vector.app.databinding.FragmentAnalyticsOptinBinding import im.vector.app.databinding.FragmentAnalyticsOptinBinding
import javax.inject.Inject import javax.inject.Inject
class AnalyticsOptInFragment @Inject constructor( class AnalyticsOptInFragment @Inject constructor() :
) : VectorBaseFragment<FragmentAnalyticsOptinBinding>(), VectorBaseFragment<FragmentAnalyticsOptinBinding>(),
OnBackPressed { OnBackPressed {
// Share the view model with the Activity so that the Activity // Share the view model with the Activity so that the Activity