support share-to-print of images and PDFs
Make it easier for apps to print to any supported printer via a normal
share intent. Provides appropriate content resolution to PrintManager
for printing to any installed and enabled Print Service. Image content
is downscaled to a good DPI for preview (screen DPI) or delivery (300
DPI). Fit vs Fill options are activated by the user's landscape vs
portrait print attribute selection. Finally, Photos default to a
locale-specific default photo media size.
Test: Share any image or PDF then select "Print"
Signed-off-by: Glade Diviney <email@example.com>
7 files changed