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

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

Merge "Declare no print services if 0 print services are enabled." into...

Merge "Declare no print services if 0 print services are enabled." into nyc-dev am: b852d013 am: 5365e7a1
am: 7c53832a

* commit '7c53832a':
  Declare no print services if 0 print services are enabled.

Change-Id: Iaf3ecaa36b42c3ca6e4beee12b87dd869649c822
parents 6c24a7d0 7c53832a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -319,7 +319,7 @@ public final class SelectPrinterActivity extends Activity implements
        }
        }
        TextView titleView = (TextView) findViewById(R.id.title);
        TextView titleView = (TextView) findViewById(R.id.title);
        View progressBar = findViewById(R.id.progress_bar);
        View progressBar = findViewById(R.id.progress_bar);
        if (mEnabledPrintServices.size() > 0) {
        if (mEnabledPrintServices.size() == 0) {
            titleView.setText(R.string.print_no_print_services);
            titleView.setText(R.string.print_no_print_services);
            progressBar.setVisibility(View.GONE);
            progressBar.setVisibility(View.GONE);
        } else if (adapter.getUnfilteredCount() <= 0) {
        } else if (adapter.getUnfilteredCount() <= 0) {