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

Commit cee4064e authored by Iván Budnik's avatar Iván Budnik
Browse files

Log when returning empty system routes list

Bug: 349550462
Change-Id: I41891ddcb60aeef143be7ae9d47ef36579d9c383
Test: atest CtsMediaBetterTogetherTestCases
Flag: EXEMPT Logging only.
parent c8c02fdf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -251,6 +251,10 @@ class MediaRouter2ServiceImpl {
                        systemRoutes = providerInfo.getRoutes();
                    } else {
                        systemRoutes = Collections.emptyList();
                        Slog.e(
                                TAG,
                                "Returning empty system routes list because "
                                    + "system provider has null providerInfo.");
                    }
                } else {
                    systemRoutes = new ArrayList<>();