From 1ae7c284403ca514efa36130cf7291a60acd9dc1 Mon Sep 17 00:00:00 2001 From: Chet Haase Date: Thu, 9 Apr 2015 11:42:30 -0700 Subject: [PATCH] Fix breakage from ActionBar animations Real fix will come later, but this disables the animations to work around the current crash. Issue #20125407 Settings Crashes when changing orientation of device Change-Id: I748e8889f72483c82cff084c5815322057f16f03 --- core/java/android/widget/ActionMenuPresenter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/widget/ActionMenuPresenter.java b/core/java/android/widget/ActionMenuPresenter.java index 36bce0bdbdeef..f951dc2d0629b 100644 --- a/core/java/android/widget/ActionMenuPresenter.java +++ b/core/java/android/widget/ActionMenuPresenter.java @@ -397,7 +397,7 @@ public class ActionMenuPresenter extends BaseMenuPresenter public void updateMenuView(boolean cleared) { final ViewGroup menuViewParent = (ViewGroup) ((View) mMenuView).getParent(); if (menuViewParent != null) { - setupItemAnimations(); +// setupItemAnimations(); ActionBarTransition.beginDelayedTransition(menuViewParent); } super.updateMenuView(cleared);