Merge "Make PopupWindows into root namespaces"

This commit is contained in:
Evan Rosky
2017-11-08 18:11:33 +00:00
committed by Android (Google) Code Review

View File

@@ -1354,6 +1354,7 @@ public class PopupWindow {
}
mDecorView = createDecorView(mBackgroundView);
mDecorView.setIsRootNamespace(true);
// The background owner should be elevated so that it casts a shadow.
mBackgroundView.setElevation(mElevation);