add the sideloading check in ReadText activity too

This commit is contained in:
tibbi 2019-07-31 12:23:23 +02:00
parent 3936d86be4
commit 7a9cacc5ae
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,10 @@ class ReadTextActivity : SimpleActivity() {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
setContentView(R.layout.activity_read_text) setContentView(R.layout.activity_read_text)
if (checkAppSideloading()) {
return
}
handlePermission(PERMISSION_WRITE_STORAGE) { handlePermission(PERMISSION_WRITE_STORAGE) {
if (it) { if (it) {
checkIntent() checkIntent()