Snackbar fixes
- Fix possible memory leak
- Crawl up the view hierarcy to find a parent
Allows a Snackbar to bubble up to a root CoL if
it exists, otherwise we just use the content view
Change-Id: I4e17a7522835366047824fa30844748062c8e965
diff --git a/design/api/current.txt b/design/api/current.txt
index 94c5188..9a44836 100644
--- a/design/api/current.txt
+++ b/design/api/current.txt
@@ -182,8 +182,8 @@
method public void dismiss();
method public int getDuration();
method public android.view.View getView();
- method public static android.support.design.widget.Snackbar make(android.view.ViewGroup, java.lang.CharSequence, int);
- method public static android.support.design.widget.Snackbar make(android.view.ViewGroup, int, int);
+ method public static android.support.design.widget.Snackbar make(android.view.View, java.lang.CharSequence, int);
+ method public static android.support.design.widget.Snackbar make(android.view.View, int, int);
method public android.support.design.widget.Snackbar setAction(int, android.view.View.OnClickListener);
method public android.support.design.widget.Snackbar setAction(java.lang.CharSequence, android.view.View.OnClickListener);
method public android.support.design.widget.Snackbar setDuration(int);