Interface SupportsIgnoreHiddenApiPolicyErrorOption<T extends BaseOptions<T>>

    • Field Detail

      • IGNORE_HIDDEN_API_POLICY_ERROR_OPTION

        static final java.lang.String IGNORE_HIDDEN_API_POLICY_ERROR_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • ignoreHiddenApiPolicyError

        default T ignoreHiddenApiPolicyError()
        Prevents the driver from ever killing the ADB server explicitl.
        Returns:
        self instance for chaining.
      • setIgnoreHiddenApiPolicyError

        default T setIgnoreHiddenApiPolicyError​(boolean value)
        Being set to true ignores a failure while changing hidden API access policies. Could be useful on some devices, where access to these policies has been locked by its vendor. false by default.
        Parameters:
        value - Whether to ignore a failure while changing hidden API access policies.
        Returns:
        self instance for chaining.
      • doesIgnoreHiddenApiPolicyError

        default java.util.Optional<java.lang.Boolean> doesIgnoreHiddenApiPolicyError()
        Get whether to ignore a failure while changing hidden API access policies.
        Returns:
        True or false.