Skip to content

Commit 806a360

Browse files
mikejurkaAndroid (Google) Code Review
authored andcommitted
Merge "Update documentation on max widget bitmap usage" into jb-dev
2 parents d48cf0c + f25ab44 commit 806a360

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/java/android/appwidget/AppWidgetManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ private AppWidgetManager(Context context) {
323323
*
324324
* <p>
325325
* The total Bitmap memory used by the RemoteViews object cannot exceed that required to
326-
* fill the screen once, ie. (screen width x screen height x 4) bytes.
326+
* fill the screen 1.5 times, ie. (screen width x screen height x 4 x 1.5) bytes.
327327
*
328328
* @param appWidgetIds The AppWidget instances for which to set the RemoteViews.
329329
* @param views The RemoteViews object to show.
@@ -391,7 +391,7 @@ public Bundle getAppWidgetOptions(int appWidgetId) {
391391
*
392392
* <p>
393393
* The total Bitmap memory used by the RemoteViews object cannot exceed that required to
394-
* fill the screen once, ie. (screen width x screen height x 4) bytes.
394+
* fill the screen 1.5 times, ie. (screen width x screen height x 4 x 1.5) bytes.
395395
*
396396
* @param appWidgetId The AppWidget instance for which to set the RemoteViews.
397397
* @param views The RemoteViews object to show.

0 commit comments

Comments
 (0)