summaryrefslogtreecommitdiffstats
path: root/core/java/android/appwidget
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2012-10-31 14:33:32 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2012-10-31 17:49:10 -0700
commitc4842c11932ea4f60fe7ae09b0a59660207e1587 (patch)
tree3181e8d1e9d489ea225b06961948e34dca24cd0a /core/java/android/appwidget
parentc8dc8eb3275a6d05e27824f322796e97e5e50e2f (diff)
downloadframeworks_base-c4842c11932ea4f60fe7ae09b0a59660207e1587.zip
frameworks_base-c4842c11932ea4f60fe7ae09b0a59660207e1587.tar.gz
frameworks_base-c4842c11932ea4f60fe7ae09b0a59660207e1587.tar.bz2
Accessibility support for the lockscreen - phone.
Change-Id: Idc99f1322a1d635dd07e1f5efa1665a4676267c2
Diffstat (limited to 'core/java/android/appwidget')
-rw-r--r--core/java/android/appwidget/AppWidgetHostView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/appwidget/AppWidgetHostView.java b/core/java/android/appwidget/AppWidgetHostView.java
index fcecd04..d56556f 100644
--- a/core/java/android/appwidget/AppWidgetHostView.java
+++ b/core/java/android/appwidget/AppWidgetHostView.java
@@ -144,6 +144,7 @@ public class AppWidgetHostView extends FrameLayout {
// We add padding to the AppWidgetHostView if necessary
Rect padding = getDefaultPaddingForWidget(mContext, info.provider, null);
setPadding(padding.left, padding.top, padding.right, padding.bottom);
+ setContentDescription(info.label);
}
}