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

Commit a51f3de4 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

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

Change-Id: Ie5964dfd4d31cb3a881cbb66069b1e4b0ca6e58c
parents 2dd3adff 85f26920
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