Change required permission in ViewPagerActivity
This commit is contained in:
parent
68e1c24d90
commit
1b5f444f9d
|
@ -110,7 +110,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
||||||
|
|
||||||
override fun onResume() {
|
override fun onResume() {
|
||||||
super.onResume()
|
super.onResume()
|
||||||
if (!hasPermission(getRequiredPermission())) {
|
if (!hasPermission(getPermissionToRequest())) {
|
||||||
finish()
|
finish()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue