mirror of
https://github.com/xfarrow/locatemydevice.git
synced 2025-02-16 12:00:37 +01:00
Update SmsHandler.java
This commit is contained in:
parent
1af9450618
commit
2406ed411d
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user