Code Monkey home page Code Monkey logo

Comments (5)

459below avatar 459below commented on August 22, 2024

I did some testing and it seems that in the case of the eternally blocked screen the call
return (ScreenOffDialog) fm.findFragmentByTag("screen_off_dialog"); fails and returns a null pointer. And screenOn checks for that, but won't throw any kind of error.

from jitsi-android.

459below avatar 459below commented on August 22, 2024

So if I understood everything correctly this should prevent it 459below@bb5973c I certainly couldn't produce this error yet using this fix.

If one was to spam the proximity sensor it seems return (ScreenOffDialog) fm.findFragmentByTag("screen_off_dialog"); sometimes fails to return the screen_off_dialog. Thus at this time screenOn cannot dismiss the dialog. The next time (and this is the part I'm not certain about) the proximity sensor triggers onSensorChanged it will lay another screen_off_dialog on top of the other one. So screenOn will remove the top one and the bottom one will stay there forever.

from jitsi-android.

459below avatar 459below commented on August 22, 2024

So I tried to reproduce this issue on a S5 running Samsung's stock 5.0 ROM and I couldn't. I suppose it doesn't affect many devices or ROMs then.

from jitsi-android.

talkinggoat avatar talkinggoat commented on August 22, 2024

I have an Asus Z00AD and I can confirm this issue, as well.

from jitsi-android.

459below avatar 459below commented on August 22, 2024

I have the mentioned patch implemented in this release https://github.com/459below/jitsi-android/releases/tag/0.0.3

If you would mind testing this I could mark it as fixed in my fork.

from jitsi-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.