Android SecurityException on PDF Send Intent

后端 未结 1 1671
我寻月下人不归
我寻月下人不归 2021-01-01 05:31

I\'m getting the following exception during an ACTION_SEND intent with a data type application/pdf:

java.lang.SecurityException: Pe         


        
相关标签:
1条回答
  • 2021-01-01 05:40

    You are encountering a bug in the Adobe Reader app, or a bug in Android, depending upon your perspective.

    The Adobe Reader ARSendForSignature activity supports the ACTION_SEND <intent-filter>, but they explicitly have android:exported="false", which denies anyone but them the ability to start that activity.

    Either:

    1. Adobe Reader should not have that <intent-filter>, or
    2. Adobe Reader should not have marked it as not exported, or
    3. The Android chooser should filter out non-exported activities

    Long-term, the answer should be #3 -- I'll work on reproducing this problem and will file an issue, assuming there isn't already one. Short-term, Adobe can fix this faster than we can fix a couple hundred million devices. :-)

    0 讨论(0)
提交回复
热议问题