public void ClearNotification(StatusBarNotificationWrapper SBN) {
StatusBarNotification sbn = (StatusBarNotification) SBN.getObject();
if (VERSION.SDK_INT >= 21) {
try {
String key = (String) sbn.getClass().getMethod("getKey").invoke(sbn);
this.owner.getClass().getMethod("cancelNotification", String.class).invoke(this, key);
} catch (Exception var4) {
throw new RuntimeException(var4);
}
} else {
this.owner.cancelNotification(sbn.getPackageName(), sbn.getTag(), sbn.getId());
}
}