From 4eab3850ec1a6cd3ec86f0c648497ee51c3ac609 Mon Sep 17 00:00:00 2001 From: Teng-Hui Zhu Date: Fri, 25 Mar 2016 09:44:31 -0700 Subject: [PATCH] Update the Drawable.inflate() documentation Change-Id: I1f8a4e40fae43ad75550d3dffbccd831b063be03 --- graphics/java/android/graphics/drawable/Drawable.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/graphics/java/android/graphics/drawable/Drawable.java b/graphics/java/android/graphics/drawable/Drawable.java index 391598447573..4f600b4ce700 100644 --- a/graphics/java/android/graphics/drawable/Drawable.java +++ b/graphics/java/android/graphics/drawable/Drawable.java @@ -1198,6 +1198,8 @@ public abstract class Drawable { /** * Inflate this Drawable from an XML resource optionally styled by a theme. + * This can't be called more than once for each Drawable. Note that framework may have called + * this once to create the Drawable instance from XML resource. * * @param r Resources used to resolve attribute values * @param parser XML parser from which to inflate this Drawable -- 2.11.0