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