diff options
| author | sergeyv <sergeyv@google.com> | 2016-03-29 20:27:44 -0700 |
|---|---|---|
| committer | sergeyv <sergeyv@google.com> | 2016-03-30 14:20:09 -0700 |
| commit | b37d44e26778bcaeb02a9b73997ffcb97ff7328f (patch) | |
| tree | 2731138260c777911a46eb0aa8da83150ac8f822 /core/java/android/view/View.java | |
| parent | 12bf75f35406f49ab531a9bea9847663ef20d62e (diff) | |
Hide children in ViewGroup.createSnaphost via internal flag and add test for
it.
bug:27747923
Change-Id: I079b52b176b920bfa4c6749be31fbcd96a4dc42c
Diffstat (limited to 'core/java/android/view/View.java')
| -rw-r--r-- | core/java/android/view/View.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index 83c6e9e1ab83..63035f26f33c 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -16235,8 +16235,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback, /** * Create a snapshot of the view into a bitmap. We should probably make * some form of this public, but should think about the API. + * + * @hide */ - Bitmap createSnapshot(Bitmap.Config quality, int backgroundColor, boolean skipChildren) { + public Bitmap createSnapshot(Bitmap.Config quality, int backgroundColor, boolean skipChildren) { int width = mRight - mLeft; int height = mBottom - mTop; |
