commit | ba245f98d64ac2178205193dbc9c111b6080947e | [log] [tgz] |
---|---|---|
author | Philip P. Moltmann <moltmann@google.com> | Mon Mar 07 13:44:59 2016 -0800 |
committer | Philip P. Moltmann <moltmann@google.com> | Mon Mar 07 13:44:59 2016 -0800 |
tree | e6c83f465afbcd32b32532be4c54f0e7e705b657 | |
parent | 02a465ace7063cc271f5565f78857dc22a14ca56 [diff] |
Update 'more options' button when changing the printer. Change-Id: I1bf71629027c18e297426e26db2923c447e47734
diff --git a/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java b/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java index 3920c62..ad4823e 100644 --- a/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java +++ b/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java
@@ -2634,6 +2634,10 @@ } mPrinterAvailabilityDetector.updatePrinter(currentPrinter); + + // Force a reload of the enabled print services to update + // mAdvancedPrintOptionsActivity in onLoadFinished(); + getLoaderManager().getLoader(LOADER_ID_ENABLED_PRINT_SERVICES).forceLoad(); } else if (spinner == mMediaSizeSpinner) { SpinnerItem<MediaSize> mediaItem = mMediaSizeSpinnerAdapter.getItem(position); PrintAttributes attributes = mPrintJob.getAttributes();