android - Disable Proximity Sensor during call -


I left my phone and looks like my proximity sensor that does not work so far. The problem is that it stops pass all the time, that the display stops during the call and I am not able to use the number pad to enter the PIN or to insert another call or Then I can disconnect the call. I got the Power button disconnect option in Accessibility settings and now uses it.

I tried to make an app that tries to get a full walklock when the call is expected to retain the display.

  • The service receives a full wakelock and releases it, then a broadcast receiver has been created, which invokes a service when the phone varies in OFFHOOK

    Only when the phone state IDE is
  • But still, the proximity sensor stops displaying. I've ensured that the lock has been taken, used to do the hahold () method. I used the method () on the screen of the Power Manager and it came true even when the screen was closed during the call. I tried to get walklogs in the loop every two seconds for the test, but still will not be displayed.

    I am using the Nexus 5 Android version 4.4.4

    Can a proximity sensor suggest a suggestion to override the behavior? Root-essential options are also fine.

    Thank you!

    proximity sensor dial 1) service testing - (if present)

    2 ) Proximity switch

    3) Test on the sensor (at the top of the mobile logo)

    4) Yes, if works, you can keep proximity to that forever Beep all the time and consumes a lot of batteries

    or

    4) No, it does not work - then just clear the mobile screen or screen guard and the sensor-blocked screen Clear. This attraction works.

    Technically, this is not a software solution, but the hardware solution will work.


    Comments

    Popular posts from this blog

    java - org.apache.http.ProtocolException: Target host is not specified -

    java - Gradle dependencies: compile project by relative path -

    ruby on rails - Object doesn't support #inspect when used with .include -