Merge pull request #3 from ividito/main

Fixed typo: `hierarcy` -> `hierarchy`
This commit is contained in:
oSumAtrIX 2022-03-25 18:25:35 +01:00 committed by GitHub
commit 14c5d21f9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -191,13 +191,13 @@ public class XAdRemover {
Log.d("Litho", "Item is null.");
} else if (item.getClass().getSimpleName().contains("cwl")) {
Log.d("Litho", "Item is a cwl item.");
Log.i("Litho", getViewHierarcy((ViewGroup) item));
Log.i("Litho", getViewHierarchy((ViewGroup) item));
} else {
Log.d("Litho", "Item is not a cwl item.");
}
}
public static String getViewHierarcy(ViewGroup v) {
public static String getViewHierarchy(ViewGroup v) {
StringBuffer buf = new StringBuffer();
printViews(v, buf, 0);
return buf.toString();