Skip to content

Commit

Permalink
Merge pull request #1360 from Adyen/fix/restrictto_warnings
Browse files Browse the repository at this point in the history
Fix restricted api warnings
  • Loading branch information
OscarSpruit authored Oct 16, 2023
2 parents 97d3c81 + 9a8e42e commit 68de2f0
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
package com.adyen.checkout.action.core.internal

import android.content.Context
import androidx.annotation.RestrictTo
import com.adyen.checkout.action.core.GenericActionConfiguration
import com.adyen.checkout.adyen3ds2.Adyen3DS2Configuration
import com.adyen.checkout.await.AwaitConfiguration
Expand All @@ -24,7 +23,6 @@ import com.adyen.checkout.wechatpay.WeChatPayActionConfiguration
import java.util.Locale

@Suppress("UNCHECKED_CAST")
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
abstract class ActionHandlingPaymentMethodConfigurationBuilder<
ConfigurationT : Configuration,
BuilderT : BaseConfigurationBuilder<ConfigurationT, BuilderT>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.adyen.checkout.components.core.internal

import android.content.Context
import androidx.annotation.RestrictTo
import com.adyen.checkout.components.core.Amount
import com.adyen.checkout.components.core.AnalyticsConfiguration
import com.adyen.checkout.components.core.internal.util.ValidationUtils
Expand All @@ -11,7 +10,6 @@ import com.adyen.checkout.core.exception.CheckoutException
import com.adyen.checkout.core.internal.util.LocaleUtil
import java.util.Locale

@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
abstract class BaseConfigurationBuilder<
ConfigurationT : Configuration,
BuilderT : BaseConfigurationBuilder<ConfigurationT, BuilderT>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ package com.adyen.checkout.components.core.internal.provider

import android.app.Application
import androidx.activity.ComponentActivity
import androidx.annotation.RestrictTo
import androidx.fragment.app.Fragment
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.ViewModelStoreOwner
Expand All @@ -22,7 +21,6 @@ import com.adyen.checkout.components.core.internal.Configuration
import com.adyen.checkout.components.core.internal.PaymentComponent
import com.adyen.checkout.components.core.internal.util.requireApplication

@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
interface PaymentComponentProvider<
ComponentT : PaymentComponent,
ConfigurationT : Configuration,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ package com.adyen.checkout.components.core.internal.provider

import android.app.Application
import androidx.activity.ComponentActivity
import androidx.annotation.RestrictTo
import androidx.fragment.app.Fragment
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.ViewModelStoreOwner
Expand All @@ -22,7 +21,6 @@ import com.adyen.checkout.components.core.internal.Configuration
import com.adyen.checkout.components.core.internal.PaymentComponent
import com.adyen.checkout.components.core.internal.util.requireApplication

@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
interface StoredPaymentComponentProvider<
ComponentT : PaymentComponent,
ConfigurationT : Configuration,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ package com.adyen.checkout.sessions.core.internal.provider

import android.app.Application
import androidx.activity.ComponentActivity
import androidx.annotation.RestrictTo
import androidx.fragment.app.Fragment
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.ViewModelStoreOwner
Expand All @@ -23,7 +22,6 @@ import com.adyen.checkout.components.core.internal.util.requireApplication
import com.adyen.checkout.sessions.core.CheckoutSession
import com.adyen.checkout.sessions.core.SessionComponentCallback

@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
interface SessionPaymentComponentProvider<
ComponentT : PaymentComponent,
ConfigurationT : Configuration,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ package com.adyen.checkout.sessions.core.internal.provider

import android.app.Application
import androidx.activity.ComponentActivity
import androidx.annotation.RestrictTo
import androidx.fragment.app.Fragment
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.ViewModelStoreOwner
Expand All @@ -23,7 +22,6 @@ import com.adyen.checkout.components.core.internal.util.requireApplication
import com.adyen.checkout.sessions.core.CheckoutSession
import com.adyen.checkout.sessions.core.SessionComponentCallback

@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
interface SessionStoredPaymentComponentProvider<
ComponentT : PaymentComponent,
ConfigurationT : Configuration,
Expand Down

0 comments on commit 68de2f0

Please sign in to comment.