I guess I missed a couple of details in my first note. The device is
intended to be used in landscape, but due to an unfortunate mfg
glitch, the display used is apparently made for portrait use. Hence,
the display hardware and driver reports portrait as its native
resolution. We are using 2.0.1 for this device.
By breaking behavior that applications expect when changing
rotationForOrientationLw(), I assume you mean that an application will
expect to be in portrait, but get landscape instead? The apps I have
tested support both orientations. I'll try it with a fixed portrait
app to see how it works with that app. The way buttons are laid out
on the device, portrait-only apps won't work well anyway. Is there
some other expected behavior that I may be breaking by pursuing this
approach?
If I want to instruct Android to change the orientation to landscape
up-front, is SurfaceFlinger the place to go, or would modifying the
display driver itself be a better approach?
> > unsubscribe:
android-porti...@googlegroups.com<
android-porting%2Bunsu...@googlegroups.com>
>
hack...@android.com