From 39f09e23d4cb46fed32c5c5f4c2e2bf5be6b3c54 Mon Sep 17 00:00:00 2001 From: George Mount Date: Mon, 30 Jun 2014 10:43:28 -0700 Subject: [PATCH] Don't throw exception for root scene transitions. Bug 13745751 Change-Id: I7bb3cbabf4f402b38f5aa57ad0ee3b4320fa83cc --- policy/src/com/android/internal/policy/impl/PhoneWindow.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindow.java b/policy/src/com/android/internal/policy/impl/PhoneWindow.java index 5e1aa3b14e172..149f4aaef3d5b 100644 --- a/policy/src/com/android/internal/policy/impl/PhoneWindow.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindow.java @@ -395,8 +395,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback { } if (hasFeature(FEATURE_CONTENT_TRANSITIONS)) { // TODO Augment the scenes/transitions API to support this. - throw new UnsupportedOperationException( - "addContentView does not support content transitions"); + Log.v(TAG, "addContentView does not support content transitions"); } mContentParent.addView(view, params); final Callback cb = getCallback();