VS-KRThank you for the best solution dude. By the way sorry for what happened buddy. I thought you were teasing my pocket size. Lol. Forget it.
ZF6 is equipped with a Laser, just under the flash.
It would be cool if we can pair the data of the proximity sensor and the laser to authorize or not the camera to flip !
So if the phone is on your desk, the proximity sensor will allow the flip, but the laser will not, because the space between the table and the phone is too small.
The max distance of the laser is 15cm and minimum is 5cm, if I remember the old Laser Ruler app on ZF3D ...
CH_ASUSHi CH_Asus team, Thank you for the response. Is there any possibility to add the same functionality in the IMO application. Since I'm facing the bug in that application. Not only in table, the camera flips up in the pocket too. I have tried putting my mobile in my pocket and called from another device, it is actually flipping in pocket. And I can surely sense there is no much space between mobile and my body.
As mentioned in this thread - the general app behavior is that apps will call the video camera during video calls.
And they will call the selfie camera. As such Android will react accordingly and turn on the camera.
We've done some safe-guards by ourselves in place - as we obviously cannot change how other apps are coded - but for example the case of WhatsApp video calling - when a Video call comes in - the default behavior of WhatsApp is to turn on the selfie camera even BEFORE you answer the call.
We've implemented a tweak to only turn on the camera after you've accepted the call. So when receiving a video call, and you dont answer - the camera should not flip.
However, if you are the one making the call, and the other party hasnt picked up , the camera will still flip first.
This behavior works correctly from our testing on WhatsApp , Duo, and FB Messenger