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

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

Handle reset of recommended services am: fe789f31

am: bc11f26a

Change-Id: Id23a5eac08cfa6ce88205cb826c6d2fc6eb4b3fe
parents de93ed5f bc11f26a
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();
        }