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

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

Merge "Start user widgets outside the AMS lock"

parents be91d4bd 63227d95
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2214,7 +2214,11 @@ class UserController implements Handler.Callback {
        void startUserWidgets(int userId) {
            AppWidgetManagerInternal awm = LocalServices.getService(AppWidgetManagerInternal.class);
            if (awm != null) {
                // Out of band, because this is called during a sequence with
                // sensitive cross-service lock management
                FgThread.getHandler().post(() -> {
                    awm.unlockUser(userId);
                });
            }
        }