kopia lustrzana https://github.com/ryukoposting/Signal-Android
Use the "screen security" preference for the conversation list
It was previously only used for ConversationListActivity. This should be all the locations (according to a grep for FLAG_SECURE). FREEBIEfork-5.53.8
rodzic
35eeaa9bd5
commit
278220cf18
|
@ -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);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue