NTP-67044 | Default root view for getCta and createApplicationAndGet CTA (#16532)
This commit is contained in:
@@ -45,6 +45,7 @@ import com.navi.ap.utils.constants.APP_PLATFORM_SCREEN_HASH
|
||||
import com.navi.ap.utils.constants.APP_PLATFORM_SCREEN_ID
|
||||
import com.navi.ap.utils.constants.APP_PLATFORM_SCREEN_STATE_ID
|
||||
import com.navi.ap.utils.constants.APP_PLATFORM_VERTICAL_TYPE
|
||||
import com.navi.ap.utils.constants.AP_LAUNCHER_SCREEN
|
||||
import com.navi.ap.utils.constants.AP_POLL_INITIAL_DELAY
|
||||
import com.navi.ap.utils.constants.AP_POLL_INTERVAL
|
||||
import com.navi.ap.utils.constants.AP_POLL_RETRY_COUNT
|
||||
@@ -55,7 +56,6 @@ import com.navi.ap.utils.constants.DEFAULT_SCREEN_STATE_ID
|
||||
import com.navi.ap.utils.constants.DEFAULT_SOURCE_SCREEN
|
||||
import com.navi.ap.utils.constants.NEXT_SCREEN_CTA
|
||||
import com.navi.ap.utils.constants.REASON
|
||||
import com.navi.ap.utils.constants.ROOT_VIEW
|
||||
import com.navi.ap.utils.constants.SCREEN_TYPE
|
||||
import com.navi.ap.utils.constants.SUBMIT_EVENT_HASH_EVENT
|
||||
import com.navi.ap.utils.getMetricInfoForApplicationType
|
||||
@@ -580,7 +580,8 @@ abstract class ApplicationPlatformVM(
|
||||
getMetricInfoForApplicationType(
|
||||
applicationType =
|
||||
handle.get<String>(APP_PLATFORM_APPLICATION_TYPE).orEmpty(),
|
||||
screenName = handle.get<String>(APP_PLATFORM_SCREEN_ID).or(ROOT_VIEW),
|
||||
screenName =
|
||||
handle.get<String>(APP_PLATFORM_SCREEN_ID).or(AP_LAUNCHER_SCREEN),
|
||||
) {
|
||||
!it.isSuccessWithData()
|
||||
},
|
||||
@@ -651,7 +652,8 @@ abstract class ApplicationPlatformVM(
|
||||
getMetricInfoForApplicationType(
|
||||
applicationType =
|
||||
handle.get<String>(APP_PLATFORM_APPLICATION_TYPE).orEmpty(),
|
||||
screenName = handle.get<String>(APP_PLATFORM_SCREEN_ID).or(ROOT_VIEW),
|
||||
screenName =
|
||||
handle.get<String>(APP_PLATFORM_SCREEN_ID).or(AP_LAUNCHER_SCREEN),
|
||||
) {
|
||||
!it.isSuccessWithData()
|
||||
},
|
||||
|
||||
@@ -57,7 +57,7 @@ const val PARENT = "parent"
|
||||
const val SOURCE = "source"
|
||||
const val EVENT = "event"
|
||||
const val RPD = "RPD"
|
||||
const val ROOT_VIEW = "ROOT_VIEW"
|
||||
const val AP_LAUNCHER_SCREEN = "ap_launcher_screen"
|
||||
|
||||
val noLoaderScreenTypes: MutableSet<String> =
|
||||
mutableSetOf(
|
||||
|
||||
Reference in New Issue
Block a user