A pop-up dialog screen that should persist even after phone restarted
I got a dialog screen that popped up when the alarm was turned on. To turn off this alarm/dialog screen user needs to enter a password. However, some users figured out a way to remove the phone’s battery and put it back on which removes the alarm dialog. I need this dialog to persist when the app opens even after the phone restarted and should be gone when the password is entered. Is there any way to do this?