update
This commit is contained in:
parent
cafcbbe661
commit
d354f5d581
|
@ -1,7 +1,5 @@
|
|||
package com.xfarrow.locatemydevice;
|
||||
|
||||
import android.app.KeyguardManager;
|
||||
import android.content.Context;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
|
|
@ -329,6 +329,7 @@ public class SmsHandler {
|
|||
lockScreenMessage.putExtra(Utils.SHOW_MESSAGE_OPTION, messageToDisplay);
|
||||
lockScreenMessage.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
context.startActivity(lockScreenMessage);
|
||||
Utils.sendSms(smsManager, "Displayed on screen", sender);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue