From b73617de462579f7c12c25a4c2747c576f00f6a2 Mon Sep 17 00:00:00 2001 From: Daniel Sandler Date: Tue, 17 Aug 2010 00:41:00 -0400 Subject: Rotation lock. IWindowManager now supports two new methods, freezeRotation() and thawRotation(), that allow a caller to temporarily stash the device's current rotation as the default rotation (when no other constraints are present). The system bar uses this to implement a user-accessible rotation lock by calling freezeRotation() and then turning off accelerometer-based display rotation; unless overridden by an app, the display will continue to appear in the frozen rotation until the rotation is unlocked by the user (either via the rotation lock icon in the system bar or by checking "rotate screen automatically" in Settings). Bug: 2949639 Change-Id: Icd21c169d1053719590e72401f229424b254622f --- packages/SystemUI/res/values-land/strings.xml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 packages/SystemUI/res/values-land/strings.xml (limited to 'packages/SystemUI/res/values-land') diff --git a/packages/SystemUI/res/values-land/strings.xml b/packages/SystemUI/res/values-land/strings.xml new file mode 100644 index 0000000..e05e36b --- /dev/null +++ b/packages/SystemUI/res/values-land/strings.xml @@ -0,0 +1,23 @@ + + + + + Screen is now locked in landscape orientation. + -- cgit v1.1