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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user