Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Unintended behavior
View staffing
Description
I'm developing a pdf library in AndroidX, which contains a isolated Service to interact with Pdf document. I want this service to be discoverable only by the app process, therefore I've marked it as exported = "false" in AndroidManifest.xml.
However Android Lint complains with "MissingServiceExportedEqualsTrue". This should not be ideal behaviour when exported flag has been added.
STEPS TO REPRODUCE:
1. Create a Android Service in any jetpack library.
2. Add exported = "false" in manifest for this service component.
3. Observe lint complains about MissingServiceExportedEqualsTrue.
ATTACH SCREENSHOTS/RECORDINGS OF THE ISSUE
ATTACH LOG FILES (Select Help > Show Log in Files, or Show Log in Finder on a Mac)
------------------
IMPORTANT: Please read
all required information.
------------------
Studio Build:
Android Studio Ladybug Feature Drop | 2024.2.2 Canary 6
Build #AI-242.23339.11.2422.12480590, built on October 10, 2024
Version of Gradle Plugin:
Version of Gradle: 8.6
Version of Java:
OS: Linux