Run android activity in Background continuously

I am new to android. I am using MediaRecorder as background service and running it in background to capture camera video. Here when user clicks start button, it shows notification and closes user interface, and again when user clicks notification it leads to user interface where user can stop recording. If user press and hold home button for some time it shows all past opened apps and if user closes my app then the background service stops unexpectedly. So, please tell me, how to prevent service from stopping task.

LogCat:

.......
05-16 11:21:22.482: I/SurfaceView(14290): Changes: creating=false format=false size=false visible=false left=true top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=true
05-16 11:21:22.482: I/SurfaceView(14290): Cur surface: Surface(name=null)/@0x423bd588
05-16 11:21:22.489: I/SurfaceView(14290): New surface: Surface(name=null)/@0x423bd658, vis=true, frame=Rect(85, 242 - 86, 243)
05-16 11:21:22.489: V/SurfaceView(14290): Layout: x=85 y=242 w=1 h=1, frame=Rect(0, 0 - 1, 1)
05-16 11:21:22.489: I/SurfaceView(14290): updateWindow -- OnScrollChangedListener
05-16 11:21:22.491: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.493: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.497: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.497: I/SurfaceView(14290): Changes: creating=false format=false size=false visible=false left=true top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=true
05-16 11:21:22.497: I/SurfaceView(14290): Cur surface: Surface(name=null)/@0x423bd588
05-16 11:21:22.502: I/SurfaceView(14290): New surface: Surface(name=null)/@0x423bd658, vis=true, frame=Rect(71, 242 - 72, 243)
05-16 11:21:22.503: V/SurfaceView(14290): Layout: x=71 y=242 w=1 h=1, frame=Rect(0, 0 - 1, 1)
05-16 11:21:22.504: I/SurfaceView(14290): updateWindow -- OnScrollChangedListener
05-16 11:21:22.505: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.507: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.512: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.512: I/SurfaceView(14290): Changes: creating=false format=false size=false visible=false left=true top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=true
05-16 11:21:22.513: I/SurfaceView(14290): Cur surface: Surface(name=null)/@0x423bd588
05-16 11:21:22.518: I/SurfaceView(14290): New surface: Surface(name=null)/@0x423bd658, vis=true, frame=Rect(59, 242 - 60, 243)
05-16 11:21:22.519: V/SurfaceView(14290): Layout: x=59 y=242 w=1 h=1, frame=Rect(0, 0 - 1, 1)
05-16 11:21:22.519: I/SurfaceView(14290): updateWindow -- OnScrollChangedListener
05-16 11:21:22.521: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.523: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.527: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.527: I/SurfaceView(14290): Changes: creating=false format=false size=false visible=false left=true top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=true
05-16 11:21:22.527: I/SurfaceView(14290): Cur surface: Surface(name=null)/@0x423bd588
05-16 11:21:22.533: I/SurfaceView(14290): New surface: Surface(name=null)/@0x423bd658, vis=true, frame=Rect(48, 242 - 49, 243)
05-16 11:21:22.534: V/SurfaceView(14290): Layout: x=48 y=242 w=1 h=1, frame=Rect(0, 0 - 1, 1)
05-16 11:21:22.534: I/SurfaceView(14290): updateWindow -- OnScrollChangedListener
05-16 11:21:22.536: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.537: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.542: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.542: I/SurfaceView(14290): Changes: creating=false format=false size=false visible=false left=true top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=true
05-16 11:21:22.543: I/SurfaceView(14290): Cur surface: Surface(name=null)/@0x423bd588
05-16 11:21:22.548: I/SurfaceView(14290): New surface: Surface(name=null)/@0x423bd658, vis=true, frame=Rect(39, 242 - 40, 243)
05-16 11:21:22.549: V/SurfaceView(14290): Layout: x=39 y=242 w=1 h=1, frame=Rect(0, 0 - 1, 1)
05-16 11:21:22.549: I/SurfaceView(14290): updateWindow -- OnScrollChangedListener
05-16 11:21:22.551: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.553: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.557: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.557: I/SurfaceView(14290): Changes: creating=false format=false size=false visible=false left=true top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=true
05-16 11:21:22.557: I/SurfaceView(14290): Cur surface: Surface(name=null)/@0x423bd588
05-16 11:21:22.563: I/SurfaceView(14290): New surface: Surface(name=null)/@0x423bd658, vis=true, frame=Rect(31, 242 - 32, 243)
05-16 11:21:22.564: V/SurfaceView(14290): Layout: x=31 y=242 w=1 h=1, frame=Rect(0, 0 - 1, 1)
05-16 11:21:22.564: I/SurfaceView(14290): updateWindow -- OnScrollChangedListener
05-16 11:21:22.565: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.567: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.572: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.573: I/SurfaceView(14290): Changes: creating=false format=false size=false visible=false left=true top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=true
05-16 11:21:22.573: I/SurfaceView(14290): Cur surface: Surface(name=null)/@0x423bd588
05-16 11:21:22.579: I/SurfaceView(14290): New surface: Surface(name=null)/@0x423bd658, vis=true, frame=Rect(25, 242 - 26, 243)
05-16 11:21:22.579: V/SurfaceView(14290): Layout: x=25 y=242 w=1 h=1, frame=Rect(0, 0 - 1, 1)
05-16 11:21:22.579: I/SurfaceView(14290): updateWindow -- OnScrollChangedListener
05-16 11:21:22.581: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.583: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.587: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.587: I/SurfaceView(14290): Changes: creating=false format=false size=false visible=false left=true top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=true
05-16 11:21:22.587: I/SurfaceView(14290): Cur surface: Surface(name=null)/@0x423bd588
05-16 11:21:22.593: I/SurfaceView(14290): New surface: Surface(name=null)/@0x423bd658, vis=true, frame=Rect(20, 242 - 21, 243)
05-16 11:21:22.593: V/SurfaceView(14290): Layout: x=20 y=242 w=1 h=1, frame=Rect(0, 0 - 1, 1)
05-16 11:21:22.594: I/SurfaceView(14290): updateWindow -- OnScrollChangedListener
05-16 11:21:22.595: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.597: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.602: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.603: I/SurfaceView(14290): Changes: creating=false format=false size=false visible=false left=true top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=true
05-16 11:21:22.603: I/SurfaceView(14290): Cur surface: Surface(name=null)/@0x423bd588
05-16 11:21:22.609: I/SurfaceView(14290): New surface: Surface(name=null)/@0x423bd658, vis=true, frame=Rect(16, 242 - 17, 243)
05-16 11:21:22.610: V/SurfaceView(14290): Layout: x=16 y=242 w=1 h=1, frame=Rect(0, 0 - 1, 1)
05-16 11:21:22.610: I/SurfaceView(14290): updateWindow -- OnScrollChangedListener
05-16 11:21:22.611: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.613: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.617: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.617: I/SurfaceView(14290): Changes: creating=false format=false size=false visible=false left=true top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=true
05-16 11:21:22.617: I/SurfaceView(14290): Cur surface: Surface(name=null)/@0x423bd588
05-16 11:21:22.624: I/SurfaceView(14290): New surface: Surface(name=null)/@0x423bd658, vis=true, frame=Rect(12, 242 - 13, 243)
05-16 11:21:22.625: V/SurfaceView(14290): Layout: x=12 y=242 w=1 h=1, frame=Rect(0, 0 - 1, 1)
05-16 11:21:22.625: I/SurfaceView(14290): updateWindow -- OnScrollChangedListener
05-16 11:21:22.626: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.628: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.631: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.632: I/SurfaceView(14290): Changes: creating=false format=false size=false visible=false left=true top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=true
05-16 11:21:22.632: I/SurfaceView(14290): Cur surface: Surface(name=null)/@0x423bd588
05-16 11:21:22.638: I/SurfaceView(14290): New surface: Surface(name=null)/@0x423bd658, vis=true, frame=Rect(9, 242 - 10, 243)
05-16 11:21:22.639: V/SurfaceView(14290): Layout: x=9 y=242 w=1 h=1, frame=Rect(0, 0 - 1, 1)
05-16 11:21:22.639: I/SurfaceView(14290): updateWindow -- OnScrollChangedListener
05-16 11:21:22.641: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.642: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.646: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.647: I/SurfaceView(14290): Changes: creating=false format=false size=false visible=false left=true top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=true
05-16 11:21:22.647: I/SurfaceView(14290): Cur surface: Surface(name=null)/@0x423bd588
05-16 11:21:22.652: I/SurfaceView(14290): New surface: Surface(name=null)/@0x423bd658, vis=true, frame=Rect(7, 242 - 8, 243)
05-16 11:21:22.653: V/SurfaceView(14290): Layout: x=7 y=242 w=1 h=1, frame=Rect(0, 0 - 1, 1)
05-16 11:21:22.654: I/SurfaceView(14290): updateWindow -- OnScrollChangedListener
05-16 11:21:22.655: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.657: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.662: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.662: I/SurfaceView(14290): Changes: creating=false format=false size=false visible=false left=true top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=true
05-16 11:21:22.663: I/SurfaceView(14290): Cur surface: Surface(name=null)/@0x423bd588
05-16 11:21:22.669: I/SurfaceView(14290): New surface: Surface(name=null)/@0x423bd658, vis=true, frame=Rect(5, 242 - 6, 243)
05-16 11:21:22.670: V/SurfaceView(14290): Layout: x=5 y=242 w=1 h=1, frame=Rect(0, 0 - 1, 1)
05-16 11:21:22.670: I/SurfaceView(14290): updateWindow -- OnScrollChangedListener
05-16 11:21:22.671: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.673: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.676: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.677: I/SurfaceView(14290): Changes: creating=false format=false size=false visible=false left=true top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=true
05-16 11:21:22.677: I/SurfaceView(14290): Cur surface: Surface(name=null)/@0x423bd588
05-16 11:21:22.683: I/SurfaceView(14290): New surface: Surface(name=null)/@0x423bd658, vis=true, frame=Rect(3, 242 - 4, 243)
05-16 11:21:22.684: V/SurfaceView(14290): Layout: x=3 y=242 w=1 h=1, frame=Rect(0, 0 - 1, 1)
05-16 11:21:22.684: I/SurfaceView(14290): updateWindow -- OnScrollChangedListener
05-16 11:21:22.685: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.687: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.692: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.693: I/SurfaceView(14290): Changes: creating=false format=false size=false visible=false left=true top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=true
05-16 11:21:22.693: I/SurfaceView(14290): Cur surface: Surface(name=null)/@0x423bd588
05-16 11:21:22.699: I/SurfaceView(14290): New surface: Surface(name=null)/@0x423bd658, vis=true, frame=Rect(2, 242 - 3, 243)
05-16 11:21:22.700: V/SurfaceView(14290): Layout: x=2 y=242 w=1 h=1, frame=Rect(0, 0 - 1, 1)
05-16 11:21:22.700: I/SurfaceView(14290): updateWindow -- OnScrollChangedListener
05-16 11:21:22.701: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.703: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.706: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.708: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.710: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.721: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.722: I/SurfaceView(14290): Changes: creating=false format=false size=false visible=false left=true top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=true
05-16 11:21:22.722: I/SurfaceView(14290): Cur surface: Surface(name=null)/@0x423bd588
05-16 11:21:22.728: I/SurfaceView(14290): New surface: Surface(name=null)/@0x423bd658, vis=true, frame=Rect(1, 242 - 2, 243)
05-16 11:21:22.728: V/SurfaceView(14290): Layout: x=1 y=242 w=1 h=1, frame=Rect(0, 0 - 1, 1)
05-16 11:21:22.729: I/SurfaceView(14290): updateWindow -- OnScrollChangedListener
05-16 11:21:22.730: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.732: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.737: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.739: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.741: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.752: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.753: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.755: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.766: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.767: I/SurfaceView(14290): Changes: creating=false format=false size=false visible=false left=true top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=true
05-16 11:21:22.767: I/SurfaceView(14290): Cur surface: Surface(name=null)/@0x423bd588
05-16 11:21:22.773: I/SurfaceView(14290): New surface: Surface(name=null)/@0x423bd658, vis=true, frame=Rect(0, 242 - 1, 243)
05-16 11:21:22.773: V/SurfaceView(14290): Layout: x=0 y=242 w=1 h=1, frame=Rect(0, 0 - 1, 1)
05-16 11:21:22.774: I/SurfaceView(14290): updateWindow -- OnScrollChangedListener
05-16 11:21:22.775: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.777: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.782: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.784: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.786: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.796: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.798: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.800: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.811: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.813: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.815: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.826: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.828: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.830: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.841: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.842: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.844: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.856: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.858: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.860: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.871: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.873: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.875: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.886: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.888: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.890: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.901: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.903: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.905: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.926: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.928: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.929: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:22.939: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:22.941: D/OpenGLRenderer(14290): prepareDirty (0.00, 0.00, 720.00, 1280.00) opaque 1 <0x610e5990>
05-16 11:21:22.944: D/OpenGLRenderer(14290): finish <0x610e5990>
05-16 11:21:25.293: D/ActivityThread(14290): ACT-AM_ON_PAUSE_CALLED ActivityRecord{421d4920 token=android.os.BinderProxy@421d3fd8 {info.androidhive.tabsswipe/info.androidhive.tabsswipe.MainActivity}}
05-16 11:21:25.306: D/ActivityThread(14290): ACT-PAUSE_ACTIVITY handled : 1 / android.os.BinderProxy@421d3fd8
05-16 11:21:25.362: I/SurfaceView(14290): updateWindow -- onWindowVisibilityChanged, visibility = 8
05-16 11:21:25.362: I/SurfaceView(14290): Changes: creating=false format=false size=false visible=true left=false top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=false
05-16 11:21:25.363: I/SurfaceView(14290): Cur surface: Surface(name=null)/@0x423bd588
05-16 11:21:25.368: I/SurfaceView(14290): New surface: Surface(name=null)/@0x423bd658, vis=false, frame=Rect(0, 242 - 1, 243)
05-16 11:21:25.368: I/SurfaceView(14290): Callback --> surfaceDestroyed
05-16 11:21:25.368: I/SurfaceView(14290): surfaceDestroyed callback +
05-16 11:21:25.368: I/SurfaceView(14290): surfaceDestroyed callback -
05-16 11:21:25.369: V/SurfaceView(14290): Layout: x=0 y=242 w=1 h=1, frame=Rect(0, 0 - 1, 1)
05-16 11:21:25.369: D/OpenGLRenderer(14290): Flushing caches (mode 0)
05-16 11:21:25.370: D/GraphicBuffer(14290): close handle(0x610e5408) (w:720 h:1280 f:1)
05-16 11:21:25.370: D/GraphicBuffer(14290): close handle(0x610a7930) (w:720 h:1280 f:1)
05-16 11:21:25.370: D/GraphicBuffer(14290): close handle(0x610ae158) (w:720 h:1280 f:1)
05-16 11:21:25.371: D/GraphicBuffer(14290): close handle(0x615d52f0) (w:720 h:1280 f:1)
05-16 11:21:25.376: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true
05-16 11:21:25.649: V/PhoneWindow(14290): DecorView setVisiblity: visibility = 4 ,Parent =ViewRoot{423ad9e0 info.androidhive.tabsswipe/info.androidhive.tabsswipe.MainActivity,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{421e0b00 I.E..... R....... 0,0-720,1280}
05-16 11:21:25.649: D/ActivityThread(14290): ACT-STOP_ACTIVITY_HIDE handled : 0 / android.os.BinderProxy@421d3fd8
05-16 11:21:25.650: D/OpenGLRenderer(14290): Flushing caches (mode 1)
05-16 11:21:25.663: I/SurfaceView(14290): updateWindow -- OnPreDrawListener, mHaveFrame = true


Source: android

Leave a Reply