Skip to content

Commit

Permalink
Keep AddressSpecification from being obfuscated
Browse files Browse the repository at this point in the history
We are mapping country codes the this enum's entries. This will not
work if the enum is obfuscated.

COAND-777
  • Loading branch information
OscarSpruit committed Aug 31, 2023
1 parent 19a8b7e commit 31b1dd7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@

package com.adyen.checkout.card.ui

import androidx.annotation.Keep
import androidx.annotation.StyleRes
import com.adyen.checkout.card.R

/**
* Specification for address form alternatives depending on the country.
*/
@Suppress("LongParameterList")
enum class AddressSpecification(
@Keep
internal enum class AddressSpecification(
internal val street: AddressFieldSpec,
internal val houseNumber: AddressFieldSpec,
internal val apartmentSuite: AddressFieldSpec,
Expand Down

0 comments on commit 31b1dd7

Please sign in to comment.