v1.1.1 - 전체 알람 온오프 스위치 및 해제 시 경고 팝업 적용, 앱 정보 화면 바운스 수정, 데이터 초기화 4단계 세분화

This commit is contained in:
sanjeok77
2026-08-14 10:31:56 +09:00
parent a356b3c581
commit d012b178b7
10 changed files with 291 additions and 74 deletions
@@ -29,9 +29,10 @@ object AlarmPermissionUtil {
fun monitorAndAutoReturn(activity: Activity, isGrantedCheck: () -> Boolean) {
monitorJob?.cancel()
monitorJob = CoroutineScope(Dispatchers.Main).launch {
delay(1000) // 설정 화면 전환 시간 대기
var count = 0
while (count < 150 && isActive) { // 최대 60초간 400ms 주기로 체크
delay(400)
while (count < 150 && isActive) { // 최대 60초간 500ms 주기로 체크
delay(500)
count++
if (isGrantedCheck()) {
try {