mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 08:19:29 +03:00
Set activities as secure
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
708ac3dcd6
commit
734b217f73
1 changed files with 3 additions and 1 deletions
|
@ -24,6 +24,7 @@ import android.annotation.SuppressLint;
|
|||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
import android.util.Log;
|
||||
import android.view.WindowManager;
|
||||
import android.webkit.SslErrorHandler;
|
||||
|
||||
import com.nextcloud.talk.R;
|
||||
|
@ -57,8 +58,9 @@ public class BaseActivity extends AppCompatActivity {
|
|||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE);
|
||||
NextcloudTalkApplication.getSharedApplication().getComponentApplication().inject(this);
|
||||
super.onCreate(savedInstanceState);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue