diff options
Diffstat (limited to 'core/java/android/widget/RemoteViews.java')
| -rw-r--r-- | core/java/android/widget/RemoteViews.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/java/android/widget/RemoteViews.java b/core/java/android/widget/RemoteViews.java index 08513aa8682e..a34bd093e655 100644 --- a/core/java/android/widget/RemoteViews.java +++ b/core/java/android/widget/RemoteViews.java @@ -3000,6 +3000,21 @@ public class RemoteViews implements Parcelable, Filter { } /** + * Call a method taking one ColorStateList on a view in the layout for this RemoteViews. + * + * @param viewId The id of the view on which to call the method. + * @param methodName The name of the method to call. + * @param value The value to pass to the method. + * + * @hide + */ + public void setColorStateList(int viewId, String methodName, ColorStateList value) { + addAction(new ReflectionAction(viewId, methodName, ReflectionAction.COLOR_STATE_LIST, + value)); + } + + + /** * Call a method taking one long on a view in the layout for this RemoteViews. * * @param viewId The id of the view on which to call the method. |
