Merge "Changing public method to @hide, doesn't have to be public" into jb-mr1-dev

This commit is contained in:
Adam Cohen
2012-09-21 16:56:30 -07:00
committed by Android (Google) Code Review
2 changed files with 8 additions and 1 deletions

View File

@@ -29005,7 +29005,6 @@ package android.widget {
method public int describeContents();
method public int getLayoutId();
method public java.lang.String getPackage();
method public void mergeRemoteViews(android.widget.RemoteViews);
method public boolean onLoadClass(java.lang.Class);
method public void reapply(android.content.Context, android.view.View);
method public void removeAllViews(int);

View File

@@ -222,6 +222,14 @@ public class RemoteViews implements Parcelable, Filter {
int viewId;
}
/**
* Merges the passed RemoteViews actions with this RemoteViews actions according to
* action-specific merge rules.
*
* @param newRv
*
* @hide
*/
public void mergeRemoteViews(RemoteViews newRv) {
// We first copy the new RemoteViews, as the process of merging modifies the way the actions
// reference the bitmap cache. We don't want to modify the object as it may need to