Hi Maxim, If you are looking for framework changes (for default behavior), I would suggest to refer ths file. https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/config.xml
If this single application or luncher app changes, then need to go by standard manifest and https://developer.android.com/training/multiscreen/screensizes.html -- satish On Tue, Jun 13, 2017 at 4:05 PM, Maxim Akristiniy < maxim.akristi...@gmail.com> wrote: > Hello, > Android 7.0 > Have a question about initial Android screen orientation. > My screen supporting image for input only in landscape mode. (width > > height), but displaying it in portrait mode ) > So, how get image from surfaceflinger in portrait mode, but painted from > left to right (rotation 270). > > I found, for example, if changing orientation in > Surfaceflinger->DisplayDevice.cpp->setProjection > All painting ok, but If I want to rotate screen, it of course not rotating. > > Question : > how change initial screen rotation ? > > -- > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-porting > > --- > You received this message because you are subscribed to the Google Groups > "android-porting" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-porting+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Regards, satish patel -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.