Add Privacy and Security Settings

This commit is contained in:
0w0@0w0.pw authored and seven332 committed 2018-02-11 13:20:18 +08:00
1 parent 7a02103e05
commit b3a23ad4e8
19 files changed
+170 -12

No files matched your search

@@ -407,6 +407,12 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan
if (mGLRootView != null) {
mGLRootView.onResume();
}
if(Settings.getEnabledSecurity()){
getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE,
WindowManager.LayoutParams.FLAG_SECURE);
}else{
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_SECURE);
}
}
@Override