Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 24054d10 authored by Michael Groover's avatar Michael Groover
Browse files

Add RECEIVER_EXPORTED flag to NetworkStack API Shims

Android T adds support to allow a runtime receiver to be registered as
not exported, but to ensure apps can take advantage of this, calls to
registerReceiver must specify a flag indicating whether the receiver
should be exported for apps targeting T+ that are registering for
non-system broadcasts. This commit adds the RECEIVER_EXPORTED
flag to the API shims for code or tests that require exporting
a dynamic receiver.

Bug: 217654947
Test: atest HostsideRestrictBackgroundNetworkTests#testAppIdle_toast
Change-Id: Ic7e621646db3b703bed905f01bbcf3adf22f5523
parent d631aed3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment