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
Post a Comment