-
- All Implemented Interfaces:
-
com.kaspersky.kaspresso.systemsafety.SystemDialogSafetyProvider
public final class SystemDialogSafetyProviderImpl implements SystemDialogSafetyProvider
The implementation of the SystemDialogSafetyProvider interface.
-
-
Constructor Summary
Constructors Constructor Description SystemDialogSafetyProviderImpl(UiTestLogger logger, UiDevice uiDevice, AdbServer adbServer)
-
Method Summary
Modifier and Type Method Description <T extends Any> TpassSystemDialogs(Function0<T> action)Invokes the given action and hides the system dialog if the invocation is failed and the system dialog is actually shown via suppressSystemDialogs call. -
-
Constructor Detail
-
SystemDialogSafetyProviderImpl
SystemDialogSafetyProviderImpl(UiTestLogger logger, UiDevice uiDevice, AdbServer adbServer)
-
-
Method Detail
-
passSystemDialogs
<T extends Any> T passSystemDialogs(Function0<T> action)
Invokes the given action and hides the system dialog if the invocation is failed and the system dialog is actually shown via suppressSystemDialogs call.
- Parameters:
action- the action to invoke.
-
-
-
-