OSDN Git Service

Update documentation on max widget bitmap usage
authorMichael Jurka <mikejurka@google.com>
Mon, 25 Jun 2012 22:11:21 +0000 (15:11 -0700)
committerMichael Jurka <mikejurka@google.com>
Mon, 25 Jun 2012 22:11:21 +0000 (15:11 -0700)
Change-Id: I564afccc425f7e76501cb7ffd404ad369bdd396d

core/java/android/appwidget/AppWidgetManager.java

index 3aa5181..810e790 100644 (file)
@@ -323,7 +323,7 @@ public class AppWidgetManager {
      * 
      * <p>
      * The total Bitmap memory used by the RemoteViews object cannot exceed that required to
-     * fill the screen once, ie. (screen width x screen height x 4) bytes.
+     * fill the screen 1.5 times, ie. (screen width x screen height x 4 x 1.5) bytes.
      *
      * @param appWidgetIds     The AppWidget instances for which to set the RemoteViews.
      * @param views         The RemoteViews object to show.
@@ -391,7 +391,7 @@ public class AppWidgetManager {
      *
      * <p>
      * The total Bitmap memory used by the RemoteViews object cannot exceed that required to
-     * fill the screen once, ie. (screen width x screen height x 4) bytes.
+     * fill the screen 1.5 times, ie. (screen width x screen height x 4 x 1.5) bytes.
      *
      * @param appWidgetId      The AppWidget instance for which to set the RemoteViews.
      * @param views         The RemoteViews object to show.