use of dev.sagar.smsblocker.tech.utils.SystemUtilSingleton in project SMSBlocker by sagarpawardev.
the class RVThreadAdapter method copySelection.
public boolean copySelection() {
final String methodName = "copySelection()";
log.justEntered(methodName);
if (selectedSMSes.size() != 1) {
log.error(methodName, "Selected SMS are either greater or less than 1");
return false;
}
SMS sms = selectedSMSes.get(0);
SystemUtilSingleton systemUtil = SystemUtilSingleton.getInstance();
systemUtil.copy(context, sms);
log.returning(methodName);
return true;
}
Aggregations