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

Commit 14124517 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixing NPE for AppWidgetManagerServiceImpl." into main

parents b03c2d28 aed70fff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2417,7 +2417,7 @@ class AppWidgetServiceImpl extends IAppWidgetService.Stub implements WidgetBacku
        if (android.os.Flags.allowPrivateProfile()
                && android.multiuser.Flags.disablePrivateSpaceItemsOnHome()) {
            // Do not add widget providers for profiles with items restricted on home screen.
            if (mUserManager
            if (info != null && mUserManager
                    .getUserProperties(info.getProfile()).areItemsRestrictedOnHomeScreen()) {
                return false;
            }