TP-12345 | removed screenshot dialog check from firebase

This commit is contained in:
Aman Singh
2023-05-09 15:43:13 +05:30
committed by Shivam Goyal
parent 49993528e2
commit 012e0ed4a8
2 changed files with 0 additions and 12 deletions

View File

@@ -44,7 +44,6 @@ data class AlfredConfig(
private var disableModuleList: List<String>? = null,
private var snapshotPerSecond: Int = 1,
private var enableAlfred: Boolean = false,
private var disableDialogScreenShot: Boolean = false,
private var firebaseControlledCruise: Boolean = false
) {
@@ -228,12 +227,4 @@ data class AlfredConfig(
this.metricsApiEnableStatus = status
}
fun getMetricsApiEnableStatus(): Boolean = this.metricsApiEnableStatus
fun setDisableDialogScreenShot(status: Boolean){
this.disableDialogScreenShot=status
}
fun getDisableDialogScreenShot(): Boolean {
return this.disableDialogScreenShot
}
}

View File

@@ -209,9 +209,6 @@ object AlfredManager {
rootBmp: Bitmap? = null,
moduleName: String? = null
) {
if(config.getDisableDialogScreenShot()){
return
}
val bottomSheetView = dialog?.window?.decorView?.rootView
if (bottomSheetView != null) {
val bottomSheetCanvasForBitmap = createBitmapForView(bottomSheetView)