kopia lustrzana https://github.com/ryukoposting/Signal-Android
Merge pull request #1020 from lxgr/fix-screensec
Use the "screen security" preference for the conversation listfork-5.53.8
commit
003095b08c
|
@ -280,7 +280,7 @@ public class ConversationListActivity extends PassphraseRequiredSherlockFragment
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initializeResources() {
|
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,
|
getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE,
|
||||||
WindowManager.LayoutParams.FLAG_SECURE);
|
WindowManager.LayoutParams.FLAG_SECURE);
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue