diff options
author | Gilles Debunne <debunne@google.com> | 2010-06-17 10:55:04 -0700 |
---|---|---|
committer | Gilles Debunne <debunne@google.com> | 2010-06-17 10:57:42 -0700 |
commit | e6ac8b9aade9443ab8456c8f7a47cdfba3b70266 (patch) | |
tree | b3ef571ac49615f68bb9f192d26744a17ff0eb55 /core/java/android/appwidget | |
parent | af51e1deb778698606d01d9eb31c49e4d3925fca (diff) | |
download | frameworks_base-e6ac8b9aade9443ab8456c8f7a47cdfba3b70266.zip frameworks_base-e6ac8b9aade9443ab8456c8f7a47cdfba3b70266.tar.gz frameworks_base-e6ac8b9aade9443ab8456c8f7a47cdfba3b70266.tar.bz2 |
Removed API changes from CL 54712.
onLoadClass(Class ) was replaced by onLoadClass(Class<?> ) in CL 54712.
This changes the API and may introduce errors in users' implementations.
Change reverted.
Change-Id: Ie578a444168423959b44857f22e13f004e108965
Diffstat (limited to 'core/java/android/appwidget')
-rw-r--r-- | core/java/android/appwidget/AppWidgetHostView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/appwidget/AppWidgetHostView.java b/core/java/android/appwidget/AppWidgetHostView.java index f372529..a1e7e4a 100644 --- a/core/java/android/appwidget/AppWidgetHostView.java +++ b/core/java/android/appwidget/AppWidgetHostView.java @@ -58,7 +58,7 @@ public class AppWidgetHostView extends FrameLayout { // When we're inflating the initialLayout for a AppWidget, we only allow // views that are allowed in RemoteViews. static final LayoutInflater.Filter sInflaterFilter = new LayoutInflater.Filter() { - public boolean onLoadClass(Class<?> clazz) { + public boolean onLoadClass(Class clazz) { return clazz.isAnnotationPresent(RemoteViews.RemoteView.class); } }; |