mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 04:28:00 +01:00
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