X Tutup
Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
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
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,13 @@ public boolean usesActionBarSherlock(TypeElement typeElement) {
return true;
}
if (qName.startsWith("org.holoeverywhere")) {
/*
* HoloEverywhere depends on ABS and uses its own provided
* activity classes
*/
return true;
// Since 2.0.0, HoloEverywhere no longer depends on ABS so we
// had to find a way to to detect the version in classpath.
// Since org.holoeverywhere.addon.AddonSherlock has been removed
// during ABS to ABC migration, we're checking if this class is
// in the classpath. If so, we're using HEW < 2.0
// See issue #776
return annotationHelper.typeElementFromQualifiedName("org.holoeverywhere.addon.AddonSherlock") != null;
}
}
return false;
Expand Down
X Tutup