Update SmsHandler.java

This commit is contained in:
Alessandro Ferro 2022-09-29 22:13:45 +02:00
parent 1af9450618
commit 2406ed411d
1 changed files with 0 additions and 3 deletions

View File

@ -228,9 +228,6 @@ public class SmsHandler {
intent.setData(Uri.parse("tel:" + sender));
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(intent);
DevicePolicyManager manager = ((DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE));
manager.lockNow();
}
}
}