add the sideloading check in ReadText activity too
This commit is contained in:
parent
3936d86be4
commit
7a9cacc5ae
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue