locked
MSG_WINDOW_FOCUS_CHANGED assigned to 0 & 1, that reboot onresume and onpause method. RRS feed

  • Question

  • User380224 posted

    MSGWINDOWFOCUS_CHANGED assigned to 0 & 1, that loops my activity life cycle by calling onresume() and onpause() method.

    here is the log I had, please help me.

    02-04 16:39:49.132 D/ViewRootImpl@8d78afdSettingScreen: MSGRESIZEDREPORT: frame=Rect(0, 0 - 1536, 2048) ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1 02-04 16:39:49.347 D/ViewRootImpl@8d78afdSettingScreen: MSGWINDOWFOCUS_CHANGED 1 02-04 16:39:49.347 D/ViewRootImpl@8d78afdSettingScreen: mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true -2062204928} 02-04 16:39:49.355 V/InputMethodManager(14524): Starting input: tba=android.view.inputmethod.EditorInfo@69162b2 nm : com.prophoenix.firemobile ic=com.android.internal.widget.EditableInputConnection@fa57203 02-04 16:39:49.355 I/InputMethodManager(14524): [IMM] startInputInner - mService.startInputOrWindowGainedFocus 02-04 16:39:49.356 D/InputTransport(14524): Input channel constructed: fd=78 02-04 16:39:49.357 D/InputTransport(14524): Input channel destroyed: fd=69 02-04 16:39:49.360 W/IInputConnectionWrapper(14524): finishComposingText on inactive InputConnection 02-04 16:39:49.375 D/ViewRootImpl@1e5878fLogin: mHardwareRenderer.destroy()#1 02-04 16:39:49.378 D/ViewRootImpl@1e5878fLogin: Relayout returned: oldFrame=[0,0][1536,2048] newFrame=[0,0][1536,2048] result=0x5 surface={isValid=false 0} surfaceGenerationChanged=true 02-04 16:39:49.380 I/mono-stdout(14524): Setting Screen ~ OnResume Method CallingSetting Screen ~ OnResume Method Calling

    Setting Screen ~ OnResume Method Calling completed02-04 16:39:49.385 I/mono-stdout(14524): Setting Screen ~ OnResume Method Calling completed

    02-04 16:39:49.407 D/ViewRootImpl@8d78afdSettingScreen: MSGWINDOWFOCUS_CHANGED 0 02-04 16:39:49.411 I/mono-stdout(14524): Setting Screen ~ OnPause Method Calling Setting Screen ~ OnPause Method Calling Setting Screen ~ OnPause Method Calling completed02-04 16:39:49.412 I/mono-stdout(14524): Setting Screen ~ OnPause Method Calling completed

    02-04 16:39:49.430 D/ViewRootImpl@8d78afdSettingScreen: Relayout returned: oldFrame=[0,0][1536,2048] newFrame=[0,0][1536,2048] result=0x1 surface={isValid=true -2062204928} surfaceGenerationChanged=false 02-04 16:39:49.457 D/ViewRootImpl@8d78afdSettingScreen: MSGWINDOWFOCUSCHANGED 1 02-04 16:39:49.457 D/ViewRootImpl@8d78afdSettingScreen: mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true -2062204928} Setting Screen ~ OnResume Method Calling 02-04 16:39:49.496 I/mono-stdout(14524): Setting Screen ~ OnResume Method Calling Setting Screen ~ OnResume Method Calling completed 02-04 16:39:49.500 I/mono-stdout(14524): Setting Screen ~ OnResume Method Calling completed 02-04 16:39:49.515 D/ViewRootImpl@8d78afdSettingScreen: MSGWINDOWFOCUSCHANGED 0 02-04 16:39:49.520 I/mono-stdout(14524): Setting Screen ~ OnPause Method CallingSetting Screen ~ OnPause Method Calling

    02-04 16:39:49.521 I/mono-stdout(14524): Setting Screen ~ OnPause Method Calling completedSetting Screen ~ OnPause Method Calling completed

    02-04 16:39:49.537 D/ViewRootImpl@8d78afdSettingScreen: Relayout returned: oldFrame=[0,0][1536,2048] newFrame=[0,0][1536,2048] result=0x1 surface={isValid=true -2062204928} surfaceGenerationChanged=false 02-04 16:39:49.569 D/Graph (14524): removeVertex() : insertDummyVertex, because there is no ancestor. 02-04 16:39:49.569 D/TextView(14524): SYANI: Clipboard API is calling: clearFilter() 02-04 16:39:49.569 D/TextView(14524): SYANI: Clipboard API is calling: unregisterClipboardEventListener() 02-04 16:39:49.570 D/TextView(14524): SYANI: Clipboard API is calling: clearFilter() 02-04 16:39:49.570 D/TextView(14524): SYANI: Clipboard API is calling: unregisterClipboardEventListener() 02-04 16:39:49.580 D/ViewRootImpl@1e5878fLogin: mHardwareRenderer.destroy()#4 02-04 16:39:49.580 D/ViewRootImpl@1e5878fLogin: dispatchDetachedFromWindow 02-04 16:39:49.583 D/InputTransport(14524): Input channel destroyed: fd=64 02-04 16:39:49.583 D/ViewRootImpl@8d78afdSettingScreen: MSGWINDOWFOCUS_CHANGED 1 02-04 16:39:49.583 D/ViewRootImpl@8d78afdSettingScreen: mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true -2062204928} 02-04 16:39:49.590 I/mono-stdout(14524): Setting Screen ~ OnResume Method Calling Setting Screen ~ OnResume Method Calling Setting Screen ~ OnResume Method Calling completed02-04 16:39:49.594 I/mono-stdout(14524): Setting Screen ~ OnResume Method Calling completed

    02-04 16:39:49.618 D/ViewRootImpl@8d78afdSettingScreen: Relayout returned: oldFrame=[0,0][1536,2048] newFrame=[0,0][1536,2048] result=0x1 surface={isValid=true -2062204928} surfaceGenerationChanged=false 02-04 16:39:49.619 D/ViewRootImpl@8d78afdSettingScreen: MSGWINDOWFOCUS_CHANGED 0 Setting Screen ~ OnPause Method Calling02-04 16:39:49.622 I/mono-stdout(14524): Setting Screen ~ OnPause Method Calling

    Setting Screen ~ OnPause Method Calling completed02-04 16:39:49.623 I/mono-stdout(14524): Setting Screen ~ OnPause Method Calling completed

    02-04 16:39:49.652 D/ViewRootImpl@8d78afdSettingScreen: MSGWINDOWFOCUS_CHANGED 1 02-04 16:39:49.652 D/ViewRootImpl@8d78afdSettingScreen: mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true -2062204928} Setting Screen ~ OnResume Method Calling02-04 16:39:49.670 I/mono-stdout(14524): Setting Screen ~ OnResume Method Calling

    02-04 16:39:49.674 I/mono-stdout(14524): Setting Screen ~ OnResume Method Calling completed Setting Screen ~ OnResume Method Calling completed 02-04 16:39:49.687 D/ViewRootImpl@8d78afdSettingScreen: MSGWINDOWFOCUS_CHANGED 0 . . . Like this way, it going on.

    Friday, February 8, 2019 7:51 AM

All replies

  • User359363 posted

    Please post your activity code.

    Monday, February 11, 2019 5:40 AM
  • User380224 posted

    First of all, Thanks for your valuable time.

    did you have any idea about this issue.. becoz code contians tons of lines@YorkGo

    Friday, February 15, 2019 9:53 AM