Merge "Declare no print services if 0 print services are enabled." into nyc-dev am: b852d0138a
am: 5365e7a194
* commit '5365e7a194cdcf8ec6ca82a649b24900b9dcb052':
Declare no print services if 0 print services are enabled.
Change-Id: I9af64891aa666d3eacd50dbe12263ce900f7200c
This commit is contained in:
@@ -319,7 +319,7 @@ public final class SelectPrinterActivity extends Activity implements
|
||||
}
|
||||
TextView titleView = (TextView) findViewById(R.id.title);
|
||||
View progressBar = findViewById(R.id.progress_bar);
|
||||
if (mEnabledPrintServices.size() > 0) {
|
||||
if (mEnabledPrintServices.size() == 0) {
|
||||
titleView.setText(R.string.print_no_print_services);
|
||||
progressBar.setVisibility(View.GONE);
|
||||
} else if (adapter.getUnfilteredCount() <= 0) {
|
||||
|
||||
Reference in New Issue
Block a user