Merge pull request #1020 from lxgr/fix-screensec

Use the "screen security" preference for the conversation list
pull/1/head
Moxie Marlinspike 11 years ago
commit 003095b08c

@ -280,7 +280,7 @@ public class ConversationListActivity extends PassphraseRequiredSherlockFragment
}
private void initializeResources() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB && TextSecurePreferences.isScreenSecurityEnabled(this)) {
getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE,
WindowManager.LayoutParams.FLAG_SECURE);
}

Loading…
Cancel
Save