Does android: exported = "false" restrict system calls / access?

I know that setting android: exported = "false" restricts the use of other applications to other applications. Can setting this attribute also limit the use of the system / access to my components? I doubt.

For example, I have the following recipient:

<receiver android:name="ConnectivityManager" android:label="NetworkConnection" android:exported = "false" > <intent-filter> <action android:name="android.net.conn.CONNECTIVITY_CHANGE" /> </intent-filter> </receiver> 

The receiver still receives broadcasts from the system after changing the connection status (on / off).

Does this mean that system calls / access can never be stopped? Please illustrate.

+6
source share
2 answers

Yes, if exported = "false", it will still respond to system translations, such as communication changes. This is easy to verify using your above broadcast receiver and switching airplane mode

+3
source

Google’s online doc doesn’t describe this clearly.

From the real result, the receiver can be started by system translation, even if exported = "false" is set.

+3
source

Source: https://habr.com/ru/post/944181/


All Articles