Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e516f46d authored by Edward Cunningham's avatar Edward Cunningham Committed by Your Name
Browse files

Lint check for new broadcast receiver exported flags.

Test: atest com.google.android.lint.RegisterReceiverFlagDetectorTest --host
Bug: 161145287
Change-Id: I494b314f0c686b78c22e1d0e0c970b68e31e2166
parent 2b70e5f2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -40,7 +40,8 @@ class AndroidFrameworkIssueRegistry : IssueRegistry() {
        EnforcePermissionDetector.ISSUE_MISMATCHING_ENFORCE_PERMISSION,
        ManualPermissionCheckDetector.ISSUE_USE_ENFORCE_PERMISSION_ANNOTATION,
        SaferParcelChecker.ISSUE_UNSAFE_API_USAGE,
        PackageVisibilityDetector.ISSUE_PACKAGE_NAME_NO_PACKAGE_VISIBILITY_FILTERS
        PackageVisibilityDetector.ISSUE_PACKAGE_NAME_NO_PACKAGE_VISIBILITY_FILTERS,
        RegisterReceiverFlagDetector.ISSUE_RECEIVER_EXPORTED_FLAG,
    )

    override val api: Int
+927 −0

File added.

Preview size limit exceeded, changes collapsed.

+560 −0

File added.

Preview size limit exceeded, changes collapsed.