summaryrefslogtreecommitdiffstats
path: root/core/java/android/widget
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2009-08-17 07:50:19 -0700
committerAmith Yamasani <yamasani@google.com>2009-08-17 08:08:32 -0700
commitd034856ab901a8be1877174da33458630faeb382 (patch)
treebd4e6ea16e71b3ea2fc2ca59f1cbb2611d449536 /core/java/android/widget
parentadb4a72d7bcf7351e76ca722b1a9c2a1d5a0d55e (diff)
downloadframeworks_base-d034856ab901a8be1877174da33458630faeb382.zip
frameworks_base-d034856ab901a8be1877174da33458630faeb382.tar.gz
frameworks_base-d034856ab901a8be1877174da33458630faeb382.tar.bz2
Allow animation styles to be applied to popup windows.
Window params were not carrying the package name required for loading animation styles from outside of the android package.
Diffstat (limited to 'core/java/android/widget')
-rw-r--r--core/java/android/widget/PopupWindow.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/widget/PopupWindow.java b/core/java/android/widget/PopupWindow.java
index 90fbb77..548dee9 100644
--- a/core/java/android/widget/PopupWindow.java
+++ b/core/java/android/widget/PopupWindow.java
@@ -817,6 +817,7 @@ public class PopupWindow {
* @param p the layout parameters of the popup's content view
*/
private void invokePopup(WindowManager.LayoutParams p) {
+ p.packageName = mContext.getPackageName();
mWindowManager.addView(mPopupView, p);
}