Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311274

Summary: Restore the default orientation
Product: z_Archived Reporter: Gorkem Ercan <gorkem.ercan>
Component: ERCPAssignee: ercp.mobile <ercp.mobile-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: rogalski
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Gorkem Ercan CLA 2010-05-01 03:34:18 EDT
Screen.setOrientation API defines a way to fix the orientation for an application. However there is no eSWT API to restore the orientation back. I suggest that we enhance the current Screen.setOrientation to include SWT.DEFAULT as a possible parameter that restores the platform default behavior.
Comment 1 Mark Rogalski CLA 2010-05-01 18:16:47 EDT
+1
Comment 2 Gorkem Ercan CLA 2010-06-01 05:15:21 EDT
Accepted for 1.4 release.  I have updated the specification version of Screen.java to reflect the changes