From 7ae20e3ce98543888cfccbef6b1254d060bc30ca Mon Sep 17 00:00:00 2001 From: Paul Lawrence Date: Tue, 22 Jul 2014 15:00:50 -0700 Subject: [PATCH] Allow CryptKeeper dialogs to rotate on tablets Tablets may be used in docking stations thus need to support landscape mode. Phones will not be, and having them rotate is both ugly and annoying. Also this matches lock screen behavior. The attribute screenOrientation is not themeable, so the only way of doing this is programmatic. Test for truth of bool which is only set for sw600dp devices and clear the nosensor setting from the manifest if set. Bug: 16405551 Change-Id: I5b3f945b89402e5aa39642c2c06e98f9ca1ce298 --- .../crypt_keeper_password_entry.xml | 62 ------------------- .../crypt_keeper_pattern_entry.xml | 56 ----------------- res/values-sw600dp/bools.xml | 5 +- src/com/android/settings/CryptKeeper.java | 9 +++ 4 files changed, 13 insertions(+), 119 deletions(-) delete mode 100644 res/layout-land/crypt_keeper_password_entry.xml delete mode 100644 res/layout-land/crypt_keeper_pattern_entry.xml diff --git a/res/layout-land/crypt_keeper_password_entry.xml b/res/layout-land/crypt_keeper_password_entry.xml deleted file mode 100644 index 57cfbedde87..00000000000 --- a/res/layout-land/crypt_keeper_password_entry.xml +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - -