Don't throw exception for root scene transitions.

Bug 13745751

Change-Id: I7bb3cbabf4f402b38f5aa57ad0ee3b4320fa83cc
This commit is contained in:
George Mount
2014-06-30 10:43:28 -07:00
parent d87c7767d9
commit 39f09e23d4

View File

@@ -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();