Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Attempting to playback any video crashes on Android 7.1.1 #210

Open
tgblank opened this issue Dec 11, 2019 · 3 comments
Open

Attempting to playback any video crashes on Android 7.1.1 #210

tgblank opened this issue Dec 11, 2019 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@tgblank
Copy link
Contributor

tgblank commented Dec 11, 2019

On my device and emulator running Android 7.1.1 the app crashes when trying to play a video. This happens as soon as the video playback screen is shown.

java.lang.NullPointerException: Attempt to read from field 'float android.content.res.Configuration.fontScale' on a null object reference
        at android.content.res.Configuration.setTo(Configuration.java:821)
        at android.content.res.Configuration.<init>(Configuration.java:808)
        at android.app.ActivityThread.createNewConfigAndUpdateIfNotNull(ActivityThread.java:4670)
        at android.app.ActivityThread.performConfigurationChanged(ActivityThread.java:4740)
        at android.app.ActivityThread.performConfigurationChangedForActivity(ActivityThread.java:4654)
        at android.app.ActivityThread.handleConfigurationChanged(ActivityThread.java:4838)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1608)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:154)
        at android.app.ActivityThread.main(ActivityThread.java:6165)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)
@tgblank tgblank added the bug Something isn't working label Dec 11, 2019
@tgblank tgblank changed the title Attempting to playback any video crashes on device Attempting to playback any video crashes on Android 7.1.1 Dec 11, 2019
@rachitmishra rachitmishra added this to the Launch milestone Dec 12, 2019
@rachitmishra
Copy link
Contributor

Check for a fix, else for Android 7 device, make sure only day mode is available.

@sammyd
Copy link
Collaborator

sammyd commented Jan 9, 2020

Accepted the fix to switch to day mode just before playback, and then jump back after playback.

@sammyd sammyd closed this as completed Jan 9, 2020
@rachitmishra
Copy link
Contributor

Still happening on a beta device.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants