diff options
| author | 2017-11-08 18:11:33 +0000 | |
|---|---|---|
| committer | 2017-11-08 18:11:33 +0000 | |
| commit | eac26194e8890e5e2b0f47ca3c0dee40e0882f92 (patch) | |
| tree | 75e18524fbf1661f37a6c39c8e397375c22ce167 | |
| parent | 5414610c7a79b1a2f72f94b4619748218f59b5b7 (diff) | |
| parent | a7f9407f844813f5acffaca7019e4409eed78382 (diff) | |
Merge "Make PopupWindows into root namespaces"
| -rw-r--r-- | core/java/android/widget/PopupWindow.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/widget/PopupWindow.java b/core/java/android/widget/PopupWindow.java index 8dc8cab1c1a1..e91db1390582 100644 --- a/core/java/android/widget/PopupWindow.java +++ b/core/java/android/widget/PopupWindow.java @@ -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); |