summaryrefslogtreecommitdiff
path: root/platform/x11/pdfapp.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2014-04-18 17:07:12 +0100
committerRobin Watts <robin.watts@artifex.com>2014-04-22 19:29:02 +0100
commit18357fc922e77ac671b0506b67a3e292ac34a7e9 (patch)
treec2efa0bda8d9da55087c42986d714ee4c7d8e600 /platform/x11/pdfapp.c
parenta879f26eaf3e86183966de124f3c30ceb7e8b2e4 (diff)
downloadmupdf-18357fc922e77ac671b0506b67a3e292ac34a7e9.tar.xz
Tweak Intent usage for ChoosePDFActivity
ChoosePDFActivity can be used either to select PDF/XPS etc files, or to select key files (for digital signatures). The choice of which one to use is made according to the action string in the Intent with which the activity is invoked. Previously we would look for Intent.action.MAIN and take this to mean "Look for PDF files", and anything else to mean look for key files. Unfortunately, if you start the activity directly using adb then the action string is null, so we look for key files. The fix is to use a specific (custom) string for key files and for everything else to be treated as a request for PDF files.
Diffstat (limited to 'platform/x11/pdfapp.c')
0 files changed, 0 insertions, 0 deletions