Search in sources :

Example 1 with SystemUtilSingleton

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;
}
Also used : SystemUtilSingleton(dev.sagar.smsblocker.tech.utils.SystemUtilSingleton) SMS(dev.sagar.smsblocker.tech.beans.SMS)

Aggregations

SMS (dev.sagar.smsblocker.tech.beans.SMS)1 SystemUtilSingleton (dev.sagar.smsblocker.tech.utils.SystemUtilSingleton)1