Don't throw exception for root scene transitions.
Bug 13745751 Change-Id: I7bb3cbabf4f402b38f5aa57ad0ee3b4320fa83cc
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user