'Android Studio - PocketModeLiteSensor Error

I have a problem that I've already described on StackOverflow but still can't solve - Suddenly LogCat stopped working for me - I have no idea why! As soon as I click "Debug" in Android Studio and the app installs on my phone the only error I get in LogCat Tab is E/SensorsHub: PocketModeLiteSensor :input data file descriptor not available - (Bad file descriptor) The worst part is that there is no mention of it on Google! As if no one has had this problem yet! I'm really asking for help - I've already reinstalled Android Studio, reset my computer, and created a new empty project in which this problem also occurs.

Edit 1: I poked around a bit on Google - is this error literally telling me there is an error with my sensors? Recently my gyroscope stopped working i.e. I checked with the app that it works but the phone doesn't rotate the screen automatically even when I have auto rotate enabled.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source