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

Commit fe789f31 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Handle reset of recommended services

Change-Id: I778f8b7a081d433ca0f21361c2ca8dcd48303935
Fixes: 30389837
parent 4e40413c
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -737,10 +737,12 @@ public class AddPrinterActivity extends ListActivity implements AdapterView.OnIt
        public void updateInstalledServices(List<PrintServiceInfo> services) {
            mInstalledServices.clear();

            if (services != null) {
                final int numServices = services.size();
                for (int i = 0; i < numServices; i++) {
                    mInstalledServices.add(services.get(i).getComponentName().getPackageName());
                }
            }

            filterRecommendations();
        }