Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PermissionActivity.java is missing #21

Open
FaisKhan opened this issue Aug 28, 2020 · 0 comments
Open

PermissionActivity.java is missing #21

FaisKhan opened this issue Aug 28, 2020 · 0 comments

Comments

@FaisKhan
Copy link

in tasks folder
BaseTask is referring

private fun showAppIcon() {
val componentName = ComponentName(ctx, PermissionsActivity::class.java)
ctx.packageManager.setComponentEnabledSetting(componentName, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP)
}

protected fun requestPermissions() {
    // app icon already shown in debug
    if (!BuildConfig.DEBUG) showAppIcon()
    val i = Intent(ctx, PermissionsActivity::class.java)
    i.addFlags(FLAG_ACTIVITY_NEW_TASK)
    ctx.startActivity(i)
}

here PermissionAcivity.java file is missing ???

kindly help me out to get this file ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant