nsaito92 / Frock

0 stars 0 forks source link

アラームが動作しない場合がある #31

Open nsaito92 opened 4 years ago

nsaito92 commented 4 years ago

概要

期待値

対応内容

参考情報

備考

*

nsaito92 commented 4 years ago

ログ解析

10-27 20:12:20.823 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@d90c0fa[CallAlarmDialogActivity]: ViewPostIme key 0
10-27 20:12:20.829 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@d90c0fa[CallAlarmDialogActivity]: ViewPostIme key 1
10-27 20:12:21.142 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: message received msg=211, ext1=0, ext2=0
10-27 20:12:21.142 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: unrecognized message: (211, 0, 0)
10-27 20:12:21.142 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: callback application
10-27 20:12:21.142 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: back from callback
10-27 20:12:21.173 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: message received msg=6, ext1=0, ext2=0
10-27 20:12:21.173 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: unrecognized message: (6, 0, 0)
10-27 20:12:21.173 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: callback application
10-27 20:12:21.173 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: back from callback
10-27 20:12:21.174 21543-21543/com.github.nsaito92.Frock V/MediaPlayer-JNI: getCurrentPosition: 241 (msec)
10-27 20:12:21.323 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: message received msg=211, ext1=0, ext2=0
10-27 20:12:21.323 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: unrecognized message: (211, 0, 0)
10-27 20:12:21.323 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: callback application
10-27 20:12:21.324 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: back from callback
10-27 20:12:21.324 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: message received msg=211, ext1=0, ext2=0
10-27 20:12:21.324 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: unrecognized message: (211, 0, 0)
10-27 20:12:21.324 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: callback application
10-27 20:12:21.324 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: back from callback
10-27 20:12:21.970 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: message received msg=211, ext1=0, ext2=0
10-27 20:12:21.970 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: unrecognized message: (211, 0, 0)
10-27 20:12:21.970 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: callback application
10-27 20:12:21.971 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: back from callback
10-27 20:12:21.998 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: message received msg=6, ext1=0, ext2=0
10-27 20:12:21.998 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: unrecognized message: (6, 0, 0)
10-27 20:12:21.998 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: callback application
10-27 20:12:21.999 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: back from callback
10-27 20:12:22.000 21543-21543/com.github.nsaito92.Frock V/MediaPlayer-JNI: getCurrentPosition: 241 (msec)
10-27 20:12:22.124 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: message received msg=211, ext1=0, ext2=0
10-27 20:12:22.124 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: unrecognized message: (211, 0, 0)
10-27 20:12:22.125 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: callback application
10-27 20:12:22.126 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: back from callback
10-27 20:12:22.126 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: message received msg=211, ext1=0, ext2=0
10-27 20:12:22.126 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: unrecognized message: (211, 0, 0)
10-27 20:12:22.126 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: callback application
10-27 20:12:22.127 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: back from callback
10-27 20:12:22.222 21543-32251/com.github.nsaito92.Frock D/ClockUtil: isYourServiceWorking
10-27 20:12:22.226 21543-32251/com.github.nsaito92.Frock D/ClockUtil: isYourServiceWorking = true
10-27 20:12:22.238 21543-21543/com.github.nsaito92.Frock D/AlarmService: onDestroy
10-27 20:12:22.239 21543-21543/com.github.nsaito92.Frock D/AlarmService: audioStop

20:12になったアラームが終了した。

10-27 20:12:22.239 21543-21543/com.github.nsaito92.Frock V/MediaPlayer-JNI: stop
10-27 20:12:22.239 21543-21543/com.github.nsaito92.Frock V/MediaPlayerNative: stop
10-27 20:12:22.242 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: message received msg=8, ext1=0, ext2=0
10-27 20:12:22.242 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: unrecognized message: (8, 0, 0)
10-27 20:12:22.242 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: callback application
10-27 20:12:22.242 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: back from callback
10-27 20:12:22.242 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: message received msg=211, ext1=0, ext2=0
10-27 20:12:22.242 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: unrecognized message: (211, 0, 0)
10-27 20:12:22.242 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: callback application
10-27 20:12:22.243 21543-21558/com.github.nsaito92.Frock V/MediaPlayerNative: back from callback
10-27 20:12:22.245 21543-21543/com.github.nsaito92.Frock V/MediaPlayer-JNI: reset
10-27 20:12:22.245 21543-21543/com.github.nsaito92.Frock V/MediaPlayerNative: reset
10-27 20:12:22.287 21543-21557/com.github.nsaito92.Frock V/MediaPlayerNative: message received msg=211, ext1=0, ext2=0
10-27 20:12:22.296 21543-32251/com.github.nsaito92.Frock W/Notification: Use of stream types is deprecated for operations other than volume control
10-27 20:12:22.296 21543-32251/com.github.nsaito92.Frock W/Notification: See the documentation of setSound() for what to use instead with android.media.AudioAttributes to qualify your playback use case
10-27 20:12:22.313 21543-21543/com.github.nsaito92.Frock V/MediaPlayer: resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
10-27 20:12:22.313 21543-21543/com.github.nsaito92.Frock V/MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null

10-27 20:12:22.314 21543-32251/com.github.nsaito92.Frock D/AlarmServiceSetter: updateAlarmService
10-27 20:12:22.315 21543-21557/com.github.nsaito92.Frock V/MediaPlayerNative: notify(211, 0, 0) callback on disconnected mediaplayer
10-27 20:12:22.315 21543-32251/com.github.nsaito92.Frock D/AlarmServiceSetter: snoozeCount = 1
10-27 20:12:22.315 21543-32251/com.github.nsaito92.Frock D/AlarmServiceSetter: createSnoozeCalender
10-27 20:12:22.315 21543-21543/com.github.nsaito92.Frock V/MediaPlayer: resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
10-27 20:12:22.316 21543-32251/com.github.nsaito92.Frock D/AlarmServiceSetter: id = 3
10-27 20:12:22.316 21543-21543/com.github.nsaito92.Frock V/MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null
10-27 20:12:22.316 21543-21543/com.github.nsaito92.Frock V/MediaPlayer-JNI: release
10-27 20:12:22.316 21543-21543/com.github.nsaito92.Frock V/MediaPlayerNative: setListener
10-27 20:12:22.316 21543-21543/com.github.nsaito92.Frock V/MediaPlayerNative: disconnect
10-27 20:12:22.316 21543-21543/com.github.nsaito92.Frock V/MediaPlayerNative: destructor
10-27 20:12:22.316 21543-21543/com.github.nsaito92.Frock V/MediaPlayerNative: disconnect
10-27 20:12:22.317 21543-32251/com.github.nsaito92.Frock D/AlarmServiceSetter: closestEntity = Tue Oct 27 20:13:22 GMT+09:00 2020
10-27 20:12:22.317 21543-32251/com.github.nsaito92.Frock D/AlarmServiceSetter: AlarmManagerSet
10-27 20:12:22.332 21543-32251/com.github.nsaito92.Frock D/AlarmServiceSetter: Set Tue Oct 27 20:13:22 GMT+09:00 2020 to AlarmManager

次のアラームがAlarmManagerにセットされた。 20:12:22.332 のログまで出ているので、AlarmManagerへのset処理までは通っている。

10-27 20:12:22.361 21543-21543/com.github.nsaito92.Frock D/CallAlarmDialogActivity: receiver
10-27 20:12:22.418 21543-21543/com.github.nsaito92.Frock D/InputTransport: Input channel constructed: fd=89
10-27 20:12:22.422 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@627614e[Toast]: setView = android.widget.LinearLayout{ebe626f V.E...... ......I. 0,0-0,0} TM=true MM=false
10-27 20:12:22.423 21543-21543/com.github.nsaito92.Frock V/Toast: Text: ィラーム in android.widget.Toast$TN@9e7eb7c
10-27 20:12:22.499 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@627614e[Toast]: Relayout returned: old=[0,58][720,1464] new=[148,1248][572,1336] result=0x7 surface={true 490326663168} changed=true
10-27 20:12:22.502 21543-21565/com.github.nsaito92.Frock D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
10-27 20:12:22.503 21543-21565/com.github.nsaito92.Frock D/OpenGLRenderer: eglCreateWindowSurface = 0x72023ff880, 0x7229bf2010
10-27 20:12:22.506 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@b093781[MainActivity]: stopped(false) old=false
10-27 20:12:22.508 21543-21543/com.github.nsaito92.Frock D/MainActivity: onResume
10-27 20:12:22.515 21543-21543/com.github.nsaito92.Frock D/FrockSettingsHelperController: getCursor
10-27 20:12:22.519 21543-21543/com.github.nsaito92.Frock D/FrockSettingsHelperController: getAlarmSettingEntityList()
10-27 20:12:22.527 21543-21543/com.github.nsaito92.Frock D/FrockSettingsHelperController: getCursor
10-27 20:12:22.529 21543-21543/com.github.nsaito92.Frock I/chatty: uid=10246(com.github.nsaito92.Frock) identical 1 line
10-27 20:12:22.534 21543-21543/com.github.nsaito92.Frock D/ClockUtil: isYourServiceWorking
10-27 20:12:22.535 21543-21543/com.github.nsaito92.Frock D/ClockUtil: isYourServiceWorking = false
10-27 20:12:22.537 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@b093781[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
10-27 20:12:22.537 21543-21543/com.github.nsaito92.Frock D/InputMethodManager: prepareNavigationBarInfo() DecorView@21d19dd[MainActivity]
10-27 20:12:22.537 21543-21543/com.github.nsaito92.Frock D/InputMethodManager: getNavigationBarColor() -855310
10-27 20:12:22.541 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@d90c0fa[CallAlarmDialogActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
10-27 20:12:22.542 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@627614e[Toast]: MSG_RESIZED: frame=[148,1248][572,1336] ci=[0,0][0,0] vi=[0,0][0,0] or=1
10-27 20:12:22.612 21543-21565/com.github.nsaito92.Frock W/libEGL: EGLNativeWindowType 0x720f326010 disconnect failed
10-27 20:12:22.612 21543-21565/com.github.nsaito92.Frock D/OpenGLRenderer: eglDestroySurface = 0x72023ff900, 0x720f326000
10-27 20:12:22.638 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@d90c0fa[CallAlarmDialogActivity]: Relayout returned: old=[18,628][702,894] new=[18,628][702,894] result=0x5 surface={false 0} changed=true
10-27 20:12:22.642 21543-21565/com.github.nsaito92.Frock W/libEGL: EGLNativeWindowType 0x720f327010 disconnect failed
10-27 20:12:22.643 21543-21565/com.github.nsaito92.Frock D/OpenGLRenderer: eglDestroySurface = 0x720f24d900, 0x720f327000
10-27 20:12:22.657 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@62630a1[CallAlarmDialogActivity]: Relayout returned: old=[0,0][720,1560] new=[0,0][720,1560] result=0x5 surface={false 0} changed=true
10-27 20:12:22.691 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@62630a1[CallAlarmDialogActivity]: stopped(true) old=false
10-27 20:12:22.692 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@d90c0fa[CallAlarmDialogActivity]: stopped(true) old=false
10-27 20:12:22.696 21543-21543/com.github.nsaito92.Frock D/CallAlarmDialogActivity: onDestroy
10-27 20:12:22.706 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@d90c0fa[CallAlarmDialogActivity]: dispatchDetachedFromWindow
10-27 20:12:22.725 21543-21543/com.github.nsaito92.Frock D/InputTransport: Input channel destroyed: fd=94
10-27 20:12:22.730 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@62630a1[CallAlarmDialogActivity]: dispatchDetachedFromWindow
10-27 20:12:22.758 21543-21543/com.github.nsaito92.Frock D/InputTransport: Input channel destroyed: fd=95
10-27 20:12:24.371 21543-21565/com.github.nsaito92.Frock W/libEGL: EGLNativeWindowType 0x7229bf2010 disconnect failed
10-27 20:12:24.371 21543-21565/com.github.nsaito92.Frock D/OpenGLRenderer: eglDestroySurface = 0x72023ff880, 0x7229bf2000
10-27 20:12:24.372 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@627614e[Toast]: dispatchDetachedFromWindow
10-27 20:12:24.403 21543-21543/com.github.nsaito92.Frock D/InputTransport: Input channel destroyed: fd=89
10-27 20:12:24.812 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@b093781[MainActivity]: ViewPostIme key 0
10-27 20:12:24.821 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@b093781[MainActivity]: ViewPostIme key 1
10-27 20:12:26.729 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@b093781[MainActivity]: ViewPostIme pointer 0
10-27 20:12:26.844 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@b093781[MainActivity]: ViewPostIme pointer 1
10-27 20:12:26.845 21543-21543/com.github.nsaito92.Frock D/AbsListView: onTouchUp() mTouchMode : -1
10-27 20:12:28.899 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@b093781[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
10-27 20:12:28.899 21543-21543/com.github.nsaito92.Frock D/InputMethodManager: prepareNavigationBarInfo() DecorView@21d19dd[MainActivity]
10-27 20:12:28.900 21543-21543/com.github.nsaito92.Frock D/InputMethodManager: getNavigationBarColor() -855310
10-27 20:12:28.932 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@b093781[MainActivity]: stopped(true) old=false
10-27 20:12:28.964 21543-21565/com.github.nsaito92.Frock W/libEGL: EGLNativeWindowType 0x72213c6010 disconnect failed
10-27 20:12:28.964 21543-21565/com.github.nsaito92.Frock D/OpenGLRenderer: eglDestroySurface = 0x720f24dc80, 0x72213c6000
10-27 20:12:28.983 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@b093781[MainActivity]: Relayout returned: old=[0,0][720,1560] new=[0,0][720,1560] result=0x5 surface={false 0} changed=true
10-27 20:12:29.200 21543-21543/com.github.nsaito92.Frock D/InputTransport: Input channel destroyed: fd=100
10-27 20:12:29.423 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@b093781[MainActivity]: Relayout returned: old=[0,0][720,1560] new=[0,0][720,1560] result=0x1 surface={false 0} changed=false
10-27 20:12:34.033 21543-21552/com.github.nsaito92.Frock W/System: A resource failed to call close. 

ここで約2分ログが途切れている。

10-27 20:14:48.393 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@b093781[MainActivity]: Relayout returned: old=[0,0][720,1560] new=[0,0][720,1560] result=0x1 surface={false 0} changed=false
10-27 20:14:48.395 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@b093781[MainActivity]: stopped(false) old=true
10-27 20:14:48.398 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@b093781[MainActivity]: stopped(false) old=false
10-27 20:14:48.400 21543-21543/com.github.nsaito92.Frock D/MainActivity: onResume
10-27 20:14:48.413 21543-21543/com.github.nsaito92.Frock D/FrockSettingsHelperController: getCursor
10-27 20:14:48.417 21543-21543/com.github.nsaito92.Frock D/FrockSettingsHelperController: getAlarmSettingEntityList()
10-27 20:14:48.425 21543-21543/com.github.nsaito92.Frock D/FrockSettingsHelperController: getCursor
10-27 20:14:48.427 21543-21543/com.github.nsaito92.Frock I/chatty: uid=10246(com.github.nsaito92.Frock) identical 1 line
10-27 20:14:48.429 21543-21543/com.github.nsaito92.Frock D/ClockUtil: isYourServiceWorking
10-27 20:14:48.430 21543-21543/com.github.nsaito92.Frock D/ClockUtil: isYourServiceWorking = false
10-27 20:14:48.497 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@b093781[MainActivity]: Relayout returned: old=[0,0][720,1560] new=[0,0][720,1560] result=0x7 surface={true 490183876608} changed=true
10-27 20:14:48.514 21543-21565/com.github.nsaito92.Frock D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
10-27 20:14:48.514 21543-21565/com.github.nsaito92.Frock D/OpenGLRenderer: eglCreateWindowSurface = 0x720f224480, 0x72213c6010
10-27 20:14:48.559 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@b093781[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
10-27 20:14:48.559 21543-21543/com.github.nsaito92.Frock D/InputMethodManager: prepareNavigationBarInfo() DecorView@21d19dd[MainActivity]
10-27 20:14:48.560 21543-21543/com.github.nsaito92.Frock D/InputMethodManager: getNavigationBarColor() -855310
10-27 20:14:48.564 21543-21543/com.github.nsaito92.Frock D/InputMethodManager: prepareNavigationBarInfo() DecorView@21d19dd[MainActivity]
10-27 20:14:48.564 21543-21543/com.github.nsaito92.Frock D/InputMethodManager: getNavigationBarColor() -855310
10-27 20:14:48.565 21543-21543/com.github.nsaito92.Frock V/InputMethodManager: Starting input: tba=com.github.nsaito92.Frock ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
10-27 20:14:48.567 21543-21543/com.github.nsaito92.Frock D/InputMethodManager: startInputInner - Id : 0
10-27 20:14:48.567 21543-21543/com.github.nsaito92.Frock I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
10-27 20:14:48.586 21543-21543/com.github.nsaito92.Frock D/InputTransport: Input channel constructed: fd=89
10-27 20:14:52.726 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@b093781[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
10-27 20:14:52.727 21543-21543/com.github.nsaito92.Frock D/InputMethodManager: prepareNavigationBarInfo() DecorView@21d19dd[MainActivity]
10-27 20:14:52.727 21543-21543/com.github.nsaito92.Frock D/InputMethodManager: getNavigationBarColor() -855310
10-27 20:14:52.759 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@b093781[MainActivity]: stopped(true) old=false
10-27 20:14:52.786 21543-21565/com.github.nsaito92.Frock W/libEGL: EGLNativeWindowType 0x72213c6010 disconnect failed
10-27 20:14:52.787 21543-21565/com.github.nsaito92.Frock D/OpenGLRenderer: eglDestroySurface = 0x720f224480, 0x72213c6000
10-27 20:14:52.819 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@b093781[MainActivity]: Relayout returned: old=[0,0][720,1560] new=[0,0][720,1560] result=0x5 surface={false 0} changed=true
10-27 20:14:52.904 21543-21543/com.github.nsaito92.Frock D/InputTransport: Input channel destroyed: fd=89
10-27 20:14:53.139 21543-21543/com.github.nsaito92.Frock D/ViewRootImpl@b093781[MainActivity]: Relayout returned: old=[0,0][720,1560] new=[0,0][720,1560] result=0x1 surface={false 0} changed=false
nsaito92 commented 4 years ago

上のログ確認直後のAlarmManagerの設定状態

SCV46:/ $ dumpsys alarm | grep nsaito                                                                                                   
    Package com.github.nsaito92.Frock, User 0:-19m35s838ms
  u0a246:com.github.nsaito92.Frock +544ms running, 0 wakeups:
      *alarm*:com.github.nsaito92.Frock/com.example.naotosaito.clocktest.AlarmService
   (AppSync) com.github.nsaito92.Frock/0
   (AppSync) com.example.nsaito92.flutterhelloworld/0
SCV46:/ $ 

set出来ていない?


ちなみに正常にアラーム設定ができていた場合

SCV46:/ $ dumpsys alarm | grep nsaito                                                                                                   
    RTC #0: Alarm{ad5a65d type 1 when 1603799100111 com.github.nsaito92.Frock}
      tag=*alarm*:com.github.nsaito92.Frock/com.example.naotosaito.clocktest.AlarmService
      operation=PendingIntent{e965bd2: PendingIntentRecord{ceaad38 com.github.nsaito92.Frock startService}}
    Package com.github.nsaito92.Frock, User 0:-20m32s946ms
  u0a246:com.github.nsaito92.Frock +544ms running, 0 wakeups:
      *alarm*:com.github.nsaito92.Frock/com.example.naotosaito.clocktest.AlarmService
   (AppSync) com.github.nsaito92.Frock/0
   (AppSync) com.example.nsaito92.flutterhelloworld/0
SCV46:/ $ 
nsaito92 commented 4 years ago

W/System: A resource failed to call close.

上記が怪しいかと思ったが、上記はアラームが動作→次のスヌーズ設定→実行の問題ないパターンでも発生しているため、関係なさそう。

nsaito92 commented 4 years ago

unix timeの変換器 https://www.epochconverter.com/

nsaito92 commented 4 years ago
nsaito92 commented 4 years ago

実験1

nsaito92 commented 4 years ago

フォアグラウンドサービス対応が必要? https://developer.android.com/about/versions/oreo/background?hl=ja

nsaito92 commented 4 years ago

ついでに、アラーム起動時に裏でActivity開かない様にしたい。

nsaito92 commented 4 years ago

わかりやすかった。 https://maku77.github.io/android/fw/task-and-affinity.html

nsaito92 commented 4 years ago

再現しないため、優先度を下げる。