diff options
| author | 2016-03-08 16:19:53 +0000 | |
|---|---|---|
| committer | 2016-03-08 16:19:55 +0000 | |
| commit | 6beb8b8d080da701b4fa48527ff3162ea31c0059 (patch) | |
| tree | bb9d80d89d38c2554b01b82b5f6e6e705f27d942 | |
| parent | f2d7b28115773b324a27173ef31c3e58ce3487a7 (diff) | |
| parent | ba245f98d64ac2178205193dbc9c111b6080947e (diff) | |
Merge "Update 'more options' button when changing the printer." into nyc-dev
| -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(); |