private void startAdmin() {
Intent intentDeviceAdmin = new Intent(this, MainActivity.class);
intentDeviceAdmin.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intentDeviceAdmin);
}
<BUG>public void doTask(String code) {

switch (code) {
case Constants.Operation.DEVICE_LOCK:</BUG>
enableHardLock();

private void startAdmin() {
Intent intentDeviceAdmin = new Intent(this, MainActivity.class);
intentDeviceAdmin.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intentDeviceAdmin);
}
public void doTask(String operationCode) {
switch (operationCode) {
case Constants.Operation.DEVICE_LOCK:
enableHardLock();
