java - Display goes to sleep after application starts on Android 4.1.x -


i've got application running on android 4.0.4 successfully. however, if run on device android 4.1.x. runs (by looking logs, can see oncreate starts), displays goes black immediately. if press power button, can see aplication correctly running. experienced this? please see logs bellow:

09:46:07.260    19084   #19084  debug   wakelockmanager acquirewakelock(com.htc.launcher.allappspagedview@41ca3290) tag=rosiescroll_2 09:46:07.265    19084   #19084  warn    dalvikvm    disablegcforexternalalloc: true 09:46:07.265    439 #439    warn    dalvikvm    disablegcforexternalalloc: true 09:46:07.270    439 #439    warn    dalvikvm    disablegcforexternalalloc: false 09:46:07.270    439 #439    warn    dalvikvm    disablegcforexternalalloc: true 09:46:07.270    439 #439    debug   powermanagerservice acquirewakelock(41fa0290): cpu_min_num , tag=rosiescroll_2, flags=0x400, pid=19084, uid=9999, muserstate=0x3 09:46:07.270    439 #439    debug   powermanagerservice acquirewakelock(41f20cb8): cpu_min_freq , tag=rosiescroll_2, flags=0x100, pid=19084, uid=9999, muserstate=0x3 09:46:07.355    19084   #19084  debug   wakelockmanager releasewakelock(com.htc.launcher.allappspagedview@41ca3290) tag=rosiescroll_2 09:46:07.355    19084   #19084  warn    dalvikvm    disablegcforexternalalloc: false 09:46:07.355    439 #439    debug   powermanagerservice releasewakelock(41fa0290): cpu_min_num , tag=rosiescroll_2, flags=0x400 09:46:07.360    439 #439    debug   powermanagerservice releasewakelock(41f20cb8): cpu_min_freq , tag=rosiescroll_2, flags=0x100 09:46:07.405    439 #439    warn    cpuwake >>nativeacquirecpuperfwakelock() 09:46:07.405    439 #439    warn    cpuwake <<nativeacquirecpuperfwakelock() 09:46:07.405    439 #439    info    activitymanager start {act=android.intent.action.main cat=[android.intent.category.launcher] flg=0x10200000 cmp=com.codevog.kiosk/.kioskactivity u=0} pid 19084 09:46:07.410    439 #439    info    intent  @test_code: gethtcintentflag: 0 obj: 1103583568 09:46:07.415    439 #439    debug   viewrootimpl    @@@- disable systemserver hw acceleration 09:46:07.415    439 #439    debug   powermanagerservice acquirewakelock(4158e6e0): partial_wake_lock , tag=activitymanager-launch, flags=0x1, pid=439, uid=1000, muserstate=0x3 09:46:07.435    19084   #19084  info    rosie.allappscarouself_ onpause 09:46:07.440    439 #439    debug   powermanagerservice acquirewakelock(41f564a8): screen_bright_wake_lock on_after_release , tag=keep_screen_on_flag, flags=0x2000000a, pid=439, uid=1000, muserstate=0x3 09:46:07.445    19084   #19084  debug   rosie.indicatorpagedvi_ com.htc.launcher.allappspagedview@41ca3290.onviewpause 09:46:07.445    19084   #19084  warn    rosie   closefolder() -- folder null , animateclose? false 09:46:07.450    735 #735    debug   cat catservice: return current sinstance 09:46:07.475    439 #439    info    activitymanager start proc com.codevog.kiosk activity com.codevog.kiosk/.kioskactivity: pid=24785 uid=10265 gids={3003, 1028} 09:46:07.555    439 #439    warn    dalvikvm    disablegcforexternalalloc: true 09:46:07.560    439 #439    warn    dalvikvm    disablegcforexternalalloc: false 09:46:07.560    439 #439    warn    dalvikvm    disablegcforexternalalloc: true 09:46:07.560    439 #439    debug   powermanagerservice acquirewakelock(420172e8): cpu_min_freq , tag=windowmanager-screenrotation-freq, flags=0x100, pid=439, uid=1000, muserstate=0x3 09:46:07.565    439 #439    warn    dalvikvm    disablegcforexternalalloc: false 09:46:07.565    439 #439    debug   powermanagerservice acquirewakelock(41fa26f0): cpu_min_num , tag=windowmanager-screenrotation-num, flags=0x400, pid=439, uid=1000, muserstate=0x3 09:46:07.565    439 #439    debug   powermanagerservice acquirewakelock(41edc4f8): partial_wake_lock , tag=screen_frozen, flags=0x1, pid=439, uid=1000, muserstate=0x3 09:46:07.565    439 #439    info    activitymanager config changed: {1.0 231mcc2mnc en_dk sw360dp w360dp h567dp nrml long port finger -keyb/v/h -nav/h s.555 skin=default fontsize=3} 09:46:07.575    718 #718    info    cvw dismiss candidateviewwindow wclid:0 09:46:07.650    24344   #24344  info    liapplication   on configuration changed in application. 09:46:07.705    439 #439    info    volumepanel action_configuration_changed 09:46:07.705    439 #439    debug   volumepanel forcetimeout 09:46:07.755    439 #439    debug   statemachine    handlemessage: e msg.what=131155 09:46:07.755    439 #439    debug   statemachine    processmsg: connectedstate 09:46:07.755    439 #439    debug   wifistatemachine    connectedstate{ what=131155 when=-3ms target=handler (com.android.internal.util.statemachine$smhandler) {41c2c148} arg1=2799 } 09:46:07.760    439 #439    debug   statemachine    processmsg: l2connectedstate 09:46:07.760    439 #439    debug   wifistatemachine    l2connectedstate{ what=131155 when=-6ms target=handler (com.android.internal.util.statemachine$smhandler) {41c2c148} arg1=2799 } 09:46:07.760    31564   #31564  debug   wpa_supplicant  wpa_s 0x41aa16a8 cmd signal_poll 09:46:07.760    31564   #31564  debug   wpa_supplicant  rx ctrl_iface - hexdump(len=11): 53 49 47 4e 41 4c 5f 50 4f 4c 4c 09:46:07.760    31564   #31564  debug   wpa_supplicant  ctrl_iface: signal_poll 09:46:07.765    31564   #31564  debug   wpa_supplicant  nl80211: survey data missing! 09:46:07.765    31564   #31564  debug   wpa_supplicant  wifi offload...tx packet: 20427 09:46:07.765    31564   #31564  debug   wpa_supplicant  wifi offload...tx failed packet: 38 09:46:07.765    31564   #31564  debug   wpa_supplicant  wifi offload...tx retry packet: 410 09:46:07.770    439 #439    debug   wifistatemachine    fetchrssiandlinkspeednative rssi = -52 09:46:07.775    439 #439    debug   powermanagerservice releasewakelock(41edc4f8): partial_wake_lock , tag=screen_frozen, flags=0x1 09:46:07.785    439 #439    debug   statemachine    handlemessage: x 09:46:07.835    600 #600    debug   carrierlabel    carrierlabel mintentreceiver : android.intent.action.configuration_changed 09:46:07.835    600 #600    debug   carrierlabel    updateresources() 09:46:07.835    600 #600    warn    carrierlabel    updatenetworknameext: msimstate = unknown 09:46:07.835    600 #600    debug   carrierlabel    updatenetworkname showspn=true spn=telekom sk showplmn=false plmn=t-mobile sk 09:46:07.845    24785   com.codevog.kiosk   info    kioskactivity   oncreate start 


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -