0
나는 활동과 같은 standBy를 구축하려고하는데, 내 목표에 가깝다. 내가 발견 한 유일한 이슈는 때때로 화면을 끄고 Android를 즉시 켜고 나는 이유를 이해할 수 없습니다.이유없이 화면이 켜짐
터미널을 독점적 인 보드에 연결 했으므로 특정 활동을 시작하면 보드에서 장치를 사용하여 화면을 끌 수 있습니다. 그 결과 화면이 꺼지 긴하지만 잠시 동안 만 안드로이드가 화면을 즉시 켜기 때문입니다. 여기
어떻게 든 InputManager 클래스가 일어나 입력을받을 수 D/InputManager-JNI(2147): handleInterceptActions: Waking up.
는 것 같다이 줄 내 응용 프로그램
I/ProprietaryStandbyActivity(31326): onCreate
I/ProprietaryStandbyActivity(31326): terminalDisplayOff 192.168.0.123
Sending UDP message to turn Off the screen
D/WindowManager(2147): mBootFastRuning = false shutdhownPending = false
D/InputManager-JNI(2147): handleInterceptActions: Not passing key to user.
D/OpenGLRenderer(31326): Enabling debug mode 0
I/ActivityManager(2147): Displayed ProprietaryStandbyActivity: +208ms
D/WindowManager(2147): mBootFastRuning = false shutdhownPending = false
D/InputManager-JNI(2147): handleInterceptActions: Going to sleep.
D/InputManager-JNI(2147): handleInterceptActions: Not passing key to user.
I/PowerManagerService(2147): Going to sleep by user request...
I/LQ (2147): ########## Thread(StopWifi).start( !!!!
D/SurfaceFlinger(1302): Screen released, type=0 flinger=0xb84ed450
E/IMGSRV (1302): :0: ####hwc_device_blank: disp:0 blank:1
V/ProprietaryStandbyActivity(31326): Called onPause
I/ProprietaryStandbyActivity(31326): onStop
D/PowerManagerService-JNI(2147): Excessive delay in autosuspend_enable()
while turning screen off: 380ms
D/UdpExecutor(30580): ###UDP socket listening...
D/WindowManager(2147): mBootFastRuning = false shutdhownPending = false
D/InputManager-JNI(2147): handleInterceptActions: Waking up.
D/SensorManager(2147): >>>>>>> set discard sensrtime =3
E/&&&&&& (2147): /data/user/gsensor_data ----> not exists.
D/InputManager-JNI(2147): handleInterceptActions: Not passing key to user.
D/SurfaceFlinger(1302): Screen acquired, type=0 flinger=0xb84ed450
E/IMGSRV (1302): :0: ####hwc_device_blank: disp:0 blank:0
I/PowerManagerService(2147): Waking up from sleep...
V/KeyguardServiceDelegate(2147): onScreenTurnedOn(showListener =
[email protected])
V/KeyguardServiceDelegate(2147): **** SHOWN CALLED ****
I/WindowManager(2147): No lock screen! windowToken=null
내가 이해할 수없는 이상한 로그의 로그입니다 화면에 아무런 입력을하지 않더라도. 누군가 이런 일이 발생하는 이유를 알고 있습니까?
실제 이유를 알기 위해서는 코드를 디버깅해야합니다. 어쩌면 당신은 잠자기 후에 깨어 난 스레드를 사용하고있을 것입니다. – Rami
분명히 내 코드를 디버깅했지만 화면을 켜는 지시가 없습니다. 백그라운드에서 실행되고 있기 때문에 단순히 일부 서비스가 화면을 켤 수 있다고 제안 하시겠습니까? 그것은 매우 이상한 행동 일 것입니다. –
서비스 또는 스레드 중 하나가 * WindowManager * 또는 * WakeLock * 클립으로 일부 작업을하고있을 수도 있습니다. 이로 인해 화면이 켜질 수 있습니다. 그것의 다만 추측! – Rami