ANDROID LIFECYCLE REWORK: SIMPLIFICATION (NO MORE DIFFERENTIATING BETWEEN “REGULAR” onPause AND ONE PRECEDING onDestroy + NOT RELYING ON isFinishing() ANYMORE)
BUT STILL OUR 2 PROBLEMS IN GrapeFrukt (WHICH SEEM TO OCCURS ONLY WHEN APPLICATION WAS PREVIOUSLY DESTROYED BUT STILL IN MEMORY):
1) DEFORMED DISPLAY WHEN STARTING IN PORTRAIT
2) COMMUNICATION IS NOT TAKING PLACE WITH RENDERER’S THREAD AFTER GLView.onPause()
ANDROID LIFECYCLE REWORK: “PROBLEM 2” SOLVED. IT WAS ALSO OCCURRING ON NEXUS-7 (A REGRESSION INTRODUCED BY THE “OVER COMPLEXIFICATION” WHICH TOOK PLACE EARLIER…)
NOTE: IT SEEMS THAT isFinishing() WAS NOT CAUSING ANY PROBLEM. WE COULD THEREFORE BRING-IT BACK AND (RE)CANCEL THE USE OF Activity.onDestroy (WAIT AND SEE…)
REGARDING THE “DEFORMATION PROBLEM” (XOOM 1 ONLY): IT LOOKS LIKE IT COULD BE SOLVED BY RE-INTRODUCING “STUFF” WHICH WAS REMOVED TODAY (E.G. SurfaceHolder.setFixedSize(), ETC.)