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

Commit d09cb053 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Make RemoteViewsContextWrapper take the user id of the application...

Merge "Make RemoteViewsContextWrapper take the user id of the application info." into sc-qpr1-dev am: 85f26920 am: d0efbee1 am: 4140cc22

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15740826

Change-Id: I1b0709a89af28238bb6c209bb0074a9a69c409a0
parents cfea94a6 4140cc22
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -739,6 +739,16 @@ public class RemoteViews implements Parcelable, Filter {
            return mContextForResources.getPackageName();
        }

        @Override
        public UserHandle getUser() {
            return mContextForResources.getUser();
        }

        @Override
        public int getUserId() {
            return mContextForResources.getUserId();
        }

        @Override
        public boolean isRestricted() {
            // Override isRestricted and direct to resource's implementation. The isRestricted is