diff options
author | Jason Monk <jmonk@google.com> | 2014-10-23 11:48:36 -0400 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2014-10-23 14:12:19 -0400 |
commit | a585268aff94b620b2c22e9ba3ae1163bb5dc8a8 (patch) | |
tree | f41216fc74d0a1f7d7ecb2ee98e3876a959d33a0 /core/java/android | |
parent | a9a550dd8e87b33979670cf856838ba227500547 (diff) | |
download | frameworks_base-a585268aff94b620b2c22e9ba3ae1163bb5dc8a8.zip frameworks_base-a585268aff94b620b2c22e9ba3ae1163bb5dc8a8.tar.gz frameworks_base-a585268aff94b620b2c22e9ba3ae1163bb5dc8a8.tar.bz2 |
Show screen pinning toasts on all users
Bug: 17657660
Change-Id: I964a210e7fb105e9494a7ab7f383aa9d141ba136
Diffstat (limited to 'core/java/android')
-rw-r--r-- | core/java/android/widget/Toast.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/widget/Toast.java b/core/java/android/widget/Toast.java index dd165ae..be4cdc1 100644 --- a/core/java/android/widget/Toast.java +++ b/core/java/android/widget/Toast.java @@ -235,6 +235,14 @@ public class Toast { public int getYOffset() { return mTN.mY; } + + /** + * Gets the LayoutParams for the Toast window. + * @hide + */ + public WindowManager.LayoutParams getWindowParams() { + return mTN.mParams; + } /** * Make a standard toast that just contains a text view. |