|
|
|
@ -30,6 +30,7 @@ object Performance {
|
|
|
|
|
|
|
|
|
|
disableOnboarding(context)
|
|
|
|
|
disableTrackingProtectionPopups(context)
|
|
|
|
|
disableFirstTimePWAPopup(context)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -68,4 +69,11 @@ object Performance {
|
|
|
|
|
private fun disableTrackingProtectionPopups(context: Context) {
|
|
|
|
|
Settings.getInstance(context).isOverrideTPPopupsForPerformanceTest = true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Disables the first time PWA popup.
|
|
|
|
|
*/
|
|
|
|
|
private fun disableFirstTimePWAPopup(context: Context) {
|
|
|
|
|
Settings.getInstance(context).shouldShowFirstTimePwaFragment = false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|