public class PostValidator
extends java.lang.Object
This is primarily to catch situations like a user entered a tools:remove="foo" directory on one of its elements and that particular attribute was never removed during the merges possibly indicating an unforeseen change of configuration.
Most of the output from this validation should be warnings.
| Constructor and Description |
|---|
PostValidator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
validate(XmlDocument xmlDocument,
com.android.manifmerger.MergingReport.Builder mergingReport)
Post validation of the merged document.
|
public static void validate(@NonNull
XmlDocument xmlDocument,
@NonNull
com.android.manifmerger.MergingReport.Builder mergingReport)
xmlDocument - merged document to check.mergingReport - report for errors and warnings.