Fixing bug related to collisions with AppWidget view ids and AppWidgetHost view ids
Change-Id: I2512b83078cff6c4d444c95275625ff39466ac83
This commit is contained in:
@@ -94,8 +94,12 @@ public class AppWidgetHostView extends FrameLayout {
|
||||
public AppWidgetHostView(Context context, int animationIn, int animationOut) {
|
||||
super(context);
|
||||
mContext = context;
|
||||
|
||||
// We want to segregate the view ids within AppWidgets to prevent
|
||||
// problems when those ids collide with view ids in the AppWidgetHost.
|
||||
setIsRootNamespace(true);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set the AppWidget that will be displayed by this view.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user