Bug? screen orientation -1 problem


Licensed User
Longtime User
I was using b4a 382 and phone lib 2.25
My app uses Sensorportrait as orientation.
But on the camera activity that the user takes photos i use phone1.SetScreenOrientation(-1)
so the user can take landscape or portrait photos

after updating b4a to version 4.00 the camera activity could no longer rotate when the device was rotated.
All the photos were set to portrait mode.

I reinstalled 382 and copied the phone library 2.25 from 3.82 to 4.00
Everything is working ok again.

is there a chance that i will have any incompatibility with the library downgrade ?