TP-12345 | removed screenshot dialog check from firebase
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user