Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d110889c authored by Adam Cohen's avatar Adam Cohen
Browse files

Fixing bug related to collisions with AppWidget view ids and AppWidgetHost view ids

Change-Id: I2512b83078cff6c4d444c95275625ff39466ac83
parent 87ab45c0
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -94,6 +94,10 @@ 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);
    }

    /**