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

Commit 4643b848 authored by Cole Faust's avatar Cole Faust
Browse files

Disable package visibility detector

Crashes with:
Error: Lint ran out of memory while building a callgraph (requested by these detectors: [PackageVisibilityDetector]). You can either disable these checks, or give lint more heap space. [LintError]

Test: Presubmits
Change-Id: Ia7ce4072af1c35295f21794f355b18a0c1a4d4b6
parent d88a1899
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -35,7 +35,8 @@ class AndroidFrameworkIssueRegistry : IssueRegistry() {
        CallingIdentityTokenDetector.ISSUE_RESULT_OF_CLEAR_IDENTITY_CALL_NOT_STORED_IN_VARIABLE,
        CallingSettingsNonUserGetterMethodsDetector.ISSUE_NON_USER_GETTER_CALLED,
        SaferParcelChecker.ISSUE_UNSAFE_API_USAGE,
        PackageVisibilityDetector.ISSUE_PACKAGE_NAME_NO_PACKAGE_VISIBILITY_FILTERS,
        // TODO: Currently crashes due to OOM issue
        // PackageVisibilityDetector.ISSUE_PACKAGE_NAME_NO_PACKAGE_VISIBILITY_FILTERS,
        PermissionMethodDetector.ISSUE_PERMISSION_METHOD_USAGE,
        PermissionMethodDetector.ISSUE_CAN_BE_PERMISSION_METHOD,
    )