summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Philip P. Moltmann <moltmann@google.com> 2016-03-08 16:19:53 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-03-08 16:19:55 +0000
commit6beb8b8d080da701b4fa48527ff3162ea31c0059 (patch)
treebb9d80d89d38c2554b01b82b5f6e6e705f27d942
parentf2d7b28115773b324a27173ef31c3e58ce3487a7 (diff)
parentba245f98d64ac2178205193dbc9c111b6080947e (diff)
Merge "Update 'more options' button when changing the printer." into nyc-dev
-rw-r--r--packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java4
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();