mattkwan-zz / android-xserver

Automatically exported from code.google.com/p/android-xserver
61 stars 49 forks source link

Patch for start XServer in portrait or landscape #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the product are you using? On what operating system?
1.14

Make it possible to start XServer into portrait or landscape mode.
The default was unchanged: landscape.
If the file /sdcard/XServer/config exists,
it is checked for one line:
orientation=portrait
(or orientation=landscape) and XServer started accordingly.

Original issue reported on code.google.com by michael....@googlemail.com on 22 Aug 2013 at 3:46

Attachments:

GoogleCodeExporter commented 9 years ago
In addition to that patch, need to add "...|orientation" into 
AndroidManifest.xml's
android:configChanges (below activity), to avoid that the Activity is restarted
due to call of setRequestedOrientation(...)

Original comment by michael....@googlemail.com on 23 Aug 2013 at 9:10

Attachments: