mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Merge branch '1247-flag-secure-warning' into 'master'
Add warning to FLAG_SECURE about app locking implications Closes #1247 See merge request briar/briar!922
This commit is contained in:
@@ -68,6 +68,11 @@ public abstract class BaseActivity extends AppCompatActivity
|
||||
public void onCreate(@Nullable Bundle state) {
|
||||
super.onCreate(state);
|
||||
|
||||
// WARNING: When removing this or making it possible to turn it off,
|
||||
// we need a solution for the app lock feature.
|
||||
// When the app is locked by a timeout and FLAG_SECURE is not
|
||||
// set, the app content becomes visible briefly before the
|
||||
// unlock screen is shown.
|
||||
if (PREVENT_SCREENSHOTS) getWindow().addFlags(FLAG_SECURE);
|
||||
|
||||
AndroidComponent applicationComponent =
|
||||
|
||||
Reference in New Issue
Block a user