mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-07 10:35:49 +01:00
Merge pull request #3 from ividito/main
Fixed typo: `hierarcy` -> `hierarchy`
This commit is contained in:
commit
14c5d21f9d
@ -191,13 +191,13 @@ public class XAdRemover {
|
|||||||
Log.d("Litho", "Item is null.");
|
Log.d("Litho", "Item is null.");
|
||||||
} else if (item.getClass().getSimpleName().contains("cwl")) {
|
} else if (item.getClass().getSimpleName().contains("cwl")) {
|
||||||
Log.d("Litho", "Item is a cwl item.");
|
Log.d("Litho", "Item is a cwl item.");
|
||||||
Log.i("Litho", getViewHierarcy((ViewGroup) item));
|
Log.i("Litho", getViewHierarchy((ViewGroup) item));
|
||||||
} else {
|
} else {
|
||||||
Log.d("Litho", "Item is not a cwl item.");
|
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();
|
StringBuffer buf = new StringBuffer();
|
||||||
printViews(v, buf, 0);
|
printViews(v, buf, 0);
|
||||||
return buf.toString();
|
return buf.toString();
|
||||||
|
Loading…
Reference in New Issue
Block a user