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

Commit bc11f26a authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by android-build-merger
Browse files

Handle reset of recommended services

am: fe789f31

Change-Id: I66aeb50ca22b06d04c280c3a64ecb62481ca78e6
parents af24aba4 fe789f31
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();
        }