TP-67637 | Alfred pixel copy (#11478)
This commit is contained in:
@@ -310,38 +310,35 @@ open class NaviApplication :
|
||||
if (isDifferentPackage) {
|
||||
return
|
||||
}
|
||||
if (AlfredManager.isAlfredRecordingEnabled()) {
|
||||
val screenName: String?
|
||||
val moduleName: String?
|
||||
when (activity) {
|
||||
is BaseActivity -> {
|
||||
screenName = activity.screenName
|
||||
moduleName = activity.getCurrentModuleName()
|
||||
}
|
||||
is InsuranceBaseActivity -> {
|
||||
screenName = activity.screenName
|
||||
moduleName = AlfredConstants.INSURANCE_MODULE
|
||||
}
|
||||
is ChatBaseActivity -> {
|
||||
screenName = activity.screenName
|
||||
moduleName = AlfredConstants.CHAT_MODULE
|
||||
}
|
||||
else -> {
|
||||
screenName = AlfredConstants.THIRD_PARTY_SCREEN
|
||||
moduleName = AlfredConstants.THIRD_PARTY_MODULE
|
||||
}
|
||||
val screenName: String?
|
||||
val moduleName: String?
|
||||
when (activity) {
|
||||
is BaseActivity -> {
|
||||
screenName = activity.screenName
|
||||
moduleName = activity.getCurrentModuleName()
|
||||
}
|
||||
try {
|
||||
AlfredManager.startRecording(
|
||||
activity.applicationContext,
|
||||
activity.window.decorView.rootView,
|
||||
screenName,
|
||||
moduleName,
|
||||
activity = activity
|
||||
)
|
||||
} catch (e: Exception) {
|
||||
e.log()
|
||||
is InsuranceBaseActivity -> {
|
||||
screenName = activity.screenName
|
||||
moduleName = AlfredConstants.INSURANCE_MODULE
|
||||
}
|
||||
is ChatBaseActivity -> {
|
||||
screenName = activity.screenName
|
||||
moduleName = AlfredConstants.CHAT_MODULE
|
||||
}
|
||||
else -> {
|
||||
screenName = AlfredConstants.THIRD_PARTY_SCREEN
|
||||
moduleName = AlfredConstants.THIRD_PARTY_MODULE
|
||||
}
|
||||
}
|
||||
try {
|
||||
AlfredManager.onActivityResumed(
|
||||
applicationContext = applicationContext,
|
||||
screenName = screenName,
|
||||
moduleName = moduleName,
|
||||
activity = activity
|
||||
)
|
||||
} catch (e: Exception) {
|
||||
e.log()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@ moengage-inapp = "6.5.0"
|
||||
moengage-push-amp-plus = "6.2.1"
|
||||
moengage-rich-notification = "4.3.2"
|
||||
navi-adverse = "1.0.0-20240626.075907-4"
|
||||
navi-alfred = "1.8.0"
|
||||
navi-alfred = "1.9.0"
|
||||
navi-guarddog = "3.1.0"
|
||||
navi-pulse = "1.4.0"
|
||||
navi-uitron = "1.13.0"
|
||||
|
||||
Reference in New Issue
Block a user