aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-12-27 20:50:13 -0500
committerAllan Wang <me@allanwang.ca>2017-12-27 20:50:13 -0500
commit2718156fe63304ffb792cc3cb8592ad6e494a8b0 (patch)
treede0f35edc3115355001c6d7600b911626da7c064
parent196a29b88bc2e1e464f4aa01ae5b0677f5067ee5 (diff)
downloadkau-2718156fe63304ffb792cc3cb8592ad6e494a8b0.tar.gz
kau-2718156fe63304ffb792cc3cb8592ad6e494a8b0.tar.bz2
kau-2718156fe63304ffb792cc3cb8592ad6e494a8b0.zip
Remove activityoptionscompat
-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()
}