I am working on a device that is designed to be run in landscape
mode.  The display used is configured as portrait, however.  The
device has no G-Sensor to detect its orientation.

I have modified PhoneWindowManager.rotationForOrientationLw() to
return landscape based on an env variable.  This works fine after the
device has fully completed booting.  The problem is the lock screen
initially shows in portrait mode for a second or two before it flips
to landscape.  I would like to have it show up in landscape mode
initially.

At this point, I think I need to change SurfaceFlinger to honor the
env variable, and set the initial orientation accordingly.  Does this
sound right?  If so, is there a certain part of SurfaceFlinger I
should look at first?

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to