CompTIA
ADR-001 · Question #102
To prevent a component from being publically accessible via Intents the developer can:
The correct answer is A. set the attribute android:exported=false in the manifest. See the full explanation below for the reasoning.
Question
To prevent a component from being publically accessible via Intents the developer can:
Options
- Aset the attribute android:exported=false in the manifest.
- Bdeclare the method as private in the Java source.
- Csign the app because Android protects component access by verifying digital signatures.
- Dadd an Intent Filter with the attribute of "private".
How the community answered
(43 responses)- A77% (33)
- B14% (6)
- C5% (2)
- D5% (2)
Community Discussion
No community discussion yet for this question.