From 4a135e50d62e09ae50350e72d7070eb4262cf5d7 Mon Sep 17 00:00:00 2001 From: vanitasvitae Date: Tue, 20 Sep 2016 20:09:30 +0200 Subject: [PATCH] Removed animation from customTab --- .../diaspora_android/receivers/OpenExternalLinkReceiver.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/com/github/dfa/diaspora_android/receivers/OpenExternalLinkReceiver.java b/app/src/main/java/com/github/dfa/diaspora_android/receivers/OpenExternalLinkReceiver.java index 22f79192..0ef48e4f 100644 --- a/app/src/main/java/com/github/dfa/diaspora_android/receivers/OpenExternalLinkReceiver.java +++ b/app/src/main/java/com/github/dfa/diaspora_android/receivers/OpenExternalLinkReceiver.java @@ -49,8 +49,6 @@ public class OpenExternalLinkReceiver extends BroadcastReceiver { // Setup Chrome Custom Tab CustomTabsIntent.Builder customTab = new CustomTabsIntent.Builder(); customTab.setToolbarColor(Helpers.getColorFromRessource(c, R.color.colorPrimary)); - customTab.setStartAnimations(c, android.R.anim.slide_in_left, android.R.anim.fade_out); - customTab.setExitAnimations(c, android.R.anim.fade_in, android.R.anim.slide_out_right); customTab.addDefaultShareMenuItem(); Bitmap backButtonIcon = BitmapFactory.decodeResource(c.getResources(), R.drawable.chrome_custom_tab__back);