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


i know setting android:exported="false" restrict other applications using/accessing application components.
setting attribute restrict system using/accessing components? doubt.

for example, have following receiver:

   <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 receiving broadcasts system once connection state changes (on/of).

does mean system calls/access can never stopped? please illustrate.

yes, if exported="false", still respond system broadcasts such connectivity changes. easy test using above broadcast-receiver , toggling airplane mode


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -