Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For targeting SDK 34 - Added RECEIVER_EXPORTED/RECEIVER_NOT_EXPORTED flag support in DevSupportManagerBase #38256

Closed
wants to merge 1 commit into from

Commits on Jul 10, 2023

  1. For targeting SDK 34 - Added RECEIVER_EXPORTED/RECEIVER_NOT_EXPORTED …

    …flag support in DevSupportManagerBase (facebook#38256)
    
    Summary:
    Pull Request resolved: facebook#38256
    
    Add RECEIVER_EXPORTED/RECEIVER_NOT_EXPORTED flag support to DevSupportManagerBase for Android 14 change. See
    https://developer.android.com/about/versions/14/behavior-changes-14#runtime-receivers-exported for details.
    
    Without this fix, app crashes during launch because of :
    ```SecurityException: {package name here}: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts```
    
    Changelog:
    [Targeting SDK 34] Added RECEIVER_EXPORTED/RECEIVER_NOT_EXPORTED flag support in DevSupportManagerBase
    
    Reviewed By: javache
    
    Differential Revision: D47313501
    
    fbshipit-source-id: 0fade223c8629a2050dc440fd975da0bc9ee94aa
    apuruni authored and facebook-github-bot committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    f14da92 View commit details
    Browse the repository at this point in the history