diff options
author | Chris Banes <chrisbanes@google.com> | 2015-04-14 10:43:16 +0100 |
---|---|---|
committer | Chris Banes <chrisbanes@google.com> | 2015-04-14 10:44:14 +0100 |
commit | 36344a90c226c90243e4e02bfb13589e120431dd (patch) | |
tree | 2e37a156768b554926bb4ec85014bbc10b25031f /core/java | |
parent | 989b5b26be4081dd3b24ecb36e856cfa83759180 (diff) | |
download | frameworks_base-36344a90c226c90243e4e02bfb13589e120431dd.zip frameworks_base-36344a90c226c90243e4e02bfb13589e120431dd.tar.gz frameworks_base-36344a90c226c90243e4e02bfb13589e120431dd.tar.bz2 |
Unhide PopupWindow window layout type calls
BUG: 20172711
Change-Id: I31bacf840908f77d2be96a6b10df495e30f0af07
Diffstat (limited to 'core/java')
-rw-r--r-- | core/java/android/widget/PopupWindow.java | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/core/java/android/widget/PopupWindow.java b/core/java/android/widget/PopupWindow.java index 8792323..c5b5c84 100644 --- a/core/java/android/widget/PopupWindow.java +++ b/core/java/android/widget/PopupWindow.java @@ -860,19 +860,22 @@ public class PopupWindow { } /** - * Set the layout type for this window. Should be one of the TYPE constants defined in - * {@link WindowManager.LayoutParams}. + * Set the layout type for this window. This value will be passed through to + * {@link WindowManager.LayoutParams#type} therefore the value should match any value + * {@link WindowManager.LayoutParams#type} accepts. * * @param layoutType Layout type for this window. - * @hide + * + * @see WindowManager.LayoutParams#type */ public void setWindowLayoutType(int layoutType) { mWindowLayoutType = layoutType; } /** - * @return The layout type for this window. - * @hide + * Returns the layout type for this window. + * + * @see #setWindowLayoutType(int) */ public int getWindowLayoutType() { return mWindowLayoutType; |