OSDN Git Service

Returning null when preview image is not available for AppWidgetProviderInfo
authorSunny Goyal <sunnygoyal@google.com>
Fri, 15 Aug 2014 19:57:11 +0000 (12:57 -0700)
committerSunny Goyal <sunnygoyal@google.com>
Fri, 15 Aug 2014 20:02:59 +0000 (13:02 -0700)
commit092e19627467ddfb2647e36cec464952cd2a7abb
treec466f396b553c90f18136ebd8b11654065efd563
parent4482e4bb8d1f5fe586b641bc3d6298dc7b8fee80
Returning null when preview image is not available for AppWidgetProviderInfo

The default application icon generally has a different aspect ratio that a
preview image, and cannot transparently be  used in place of the image.
Returning null will allow the apps to handle the case as they see fit.

Change-Id: Ie6e8e16dd7b4e58b222187a81c62d27eccab45a9
core/java/android/appwidget/AppWidgetProviderInfo.java