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

Commit 9fbe5e55 authored by Eric Jeong's avatar Eric Jeong
Browse files

Do not print WTF when APPWDIGET_SERVICE is queried

Bug: 321587584
Test: Boot the device and we should not see wtf message about app widget
Change-Id: I077b942915e143652e15cf644a0f736962c5b322
parent 51749341
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1814,6 +1814,11 @@ public final class SystemServiceRegistry {
                        return null;
                    }
                    break;
                case Context.APPWIDGET_SERVICE:
                    if (!hasSystemFeatureOpportunistic(ctx, PackageManager.FEATURE_APP_WIDGETS)) {
                        return null;
                    }
                    break;
            }
            Slog.wtf(TAG, "Manager wrapper not available: " + name);
            return null;