-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
What steps will reproduce the problem?
1. open a video in fullscreen using the sample app project (activity
TestHTML5WebView)
2. click on play
3. click on the android device home button
4. go back to the app using the recent task android device button
What is the expected output? What do you see instead?
I would expect to see the video screen again.
Instead i get an application crash with this in logcat:
12-10 15:29:45.051: E/AndroidRuntime(24560): FATAL EXCEPTION: main
12-10 15:29:45.051: E/AndroidRuntime(24560): java.lang.NullPointerException
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.webkit.HTML5VideoFullScreen.prepareForFullScreen(HTML5VideoFullScreen.ja
va:164)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.webkit.HTML5VideoFullScreen.access$500(HTML5VideoFullScreen.java:21)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.webkit.HTML5VideoFullScreen$1.surfaceCreated(HTML5VideoFullScreen.java:9
9)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.view.SurfaceView.updateWindow(SurfaceView.java:543)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.view.SurfaceView.onWindowVisibilityChanged(SurfaceView.java:226)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.view.View.dispatchWindowVisibilityChanged(View.java:7425)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1042)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1042)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1042)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1042)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1042)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1042)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1042)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1218)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:998)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4212)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.view.Choreographer.doCallbacks(Choreographer.java:555)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.view.Choreographer.doFrame(Choreographer.java:525)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.os.Handler.handleCallback(Handler.java:615)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.os.Handler.dispatchMessage(Handler.java:92)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.os.Looper.loop(Looper.java:137)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
android.app.ActivityThread.main(ActivityThread.java:4745)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
java.lang.reflect.Method.invokeNative(Native Method)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
java.lang.reflect.Method.invoke(Method.java:511)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
12-10 15:29:45.051: E/AndroidRuntime(24560): at
dalvik.system.NativeStart.main(Native Method)
What version of the product are you using? On what operating system?
Jelly Beans 4.1.1, on a Galaxy Nexus phone.
Please provide any additional information below.
Original issue reported on code.google.com by lbo...@yogiplay.com on 10 Dec 2012 at 11:36