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

Commit d109f03e authored by Svetoslav's avatar Svetoslav Committed by Android (Google) Code Review
Browse files

Merge "Fix a crash in RemoteViews." into lmp-dev

parents 0efc1186 14494a87
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2656,7 +2656,7 @@ public class RemoteViews implements Parcelable, Filter {
        if (UserHandle.getUserId(applicationInfo.uid) != userId
                || !applicationInfo.packageName.equals(packageName)) {
            try {
                Context context = application.getApplicationContext().createPackageContextAsUser(
                Context context = application.getBaseContext().createPackageContextAsUser(
                        packageName, 0, new UserHandle(userId));
                applicationInfo = context.getApplicationInfo();
            } catch (NameNotFoundException nnfe) {