Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311274 - Restore the default orientation
Summary: Restore the default orientation
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: ERCP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: ercp.mobile CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-01 03:34 EDT by Gorkem Ercan CLA
Modified: 2021-07-15 12:17 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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