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

Commit 4140cc22 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

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

Change-Id: Ie90cf8137c4152af648def54c0964de6f3540d6b
parents 83135ec4 d0efbee1
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