Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/Xamarin.Android.Build.Tasks/Tasks/Lint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ public override bool Execute ()
// that means for EVERYTHING! Which will be a HUGE amount of warnings for a large project
if (string.IsNullOrEmpty (DisabledIssues) || !DisabledIssues.Contains ("UnusedResources"))
DisabledIssues = "UnusedResources" + (!string.IsNullOrEmpty(DisabledIssues) ? ","+DisabledIssues : "");

// We need to hard code this test as disabled in because Lint will issue a warning
// for the MonoPackageManager.java since we have to use a static to keep track of the
// application instance.
if (string.IsNullOrEmpty (DisabledIssues) || !DisabledIssues.Contains ("StaticFieldLeak"))
DisabledIssues = "StaticFieldLeak" + (!string.IsNullOrEmpty (DisabledIssues) ? "," + DisabledIssues : "");

Log.LogDebugMessage ("Lint Task");
Log.LogDebugMessage (" TargetDirectory: {0}", TargetDirectory);
Expand Down