diff options
| author | 2016-03-07 13:44:59 -0800 | |
|---|---|---|
| committer | 2016-03-07 13:44:59 -0800 | |
| commit | ba245f98d64ac2178205193dbc9c111b6080947e (patch) | |
| tree | e6c83f465afbcd32b32532be4c54f0e7e705b657 | |
| parent | 02a465ace7063cc271f5565f78857dc22a14ca56 (diff) | |
Update 'more options' button when changing the printer.
Change-Id: I1bf71629027c18e297426e26db2923c447e47734
| -rw-r--r-- | packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java b/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java index 3920c62f526e..ad4823eb086c 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 @@ public class PrintActivity extends Activity implements RemotePrintDocument.Updat } 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(); |