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

Commit 9379d935 authored by Svetoslav's avatar Svetoslav
Browse files

Make printers for a print service not react to press.

We show a list of printers for the a print service in the
print service settings activity. This list is there to
inform the user of which printers are available and
optionally offers adding a printer affordance. The printer
list items do nothing so they should not react to press
and create a false impression they do.

bug:10983508

Change-Id: I43b19ebb0acf6662c489826c192fd6daf8ad103d
parent 4a4a1b8b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -639,6 +639,11 @@ public class PrintServiceSettingsFragment extends SettingsPreferenceFragment
            return convertView;
        }

        @Override
        public boolean isEnabled(int position) {
            return false;
        }

        @Override
        public Loader<List<PrinterInfo>> onCreateLoader(int id, Bundle args) {
            if (id == LOADER_ID_PRINTERS_LOADER) {