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.
This commit is contained in:
Amith Yamasani
2009-08-17 07:50:19 -07:00
parent adb4a72d7b
commit d034856ab9

View File

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