aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/main/kotlin/ca/allanwang/kau/utils/BundleUtils.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/src/main/kotlin/ca/allanwang/kau/utils/BundleUtils.kt b/core/src/main/kotlin/ca/allanwang/kau/utils/BundleUtils.kt
index 98fceaf..76c314a 100644
--- a/core/src/main/kotlin/ca/allanwang/kau/utils/BundleUtils.kt
+++ b/core/src/main/kotlin/ca/allanwang/kau/utils/BundleUtils.kt
@@ -6,7 +6,6 @@ import android.app.ActivityOptions
import android.content.Context
import android.os.Bundle
import android.support.annotation.AnimRes
-import android.support.v4.app.ActivityOptionsCompat
import ca.allanwang.kau.R
/**
@@ -32,7 +31,7 @@ fun Bundle.withSceneTransitionAnimation(context: Context) {
fun Bundle.withCustomAnimation(context: Context,
@AnimRes enterResId: Int,
@AnimRes exitResId: Int) {
- this with ActivityOptionsCompat.makeCustomAnimation(context,
+ this with ActivityOptions.makeCustomAnimation(context,
enterResId, exitResId).toBundle()
}