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

初步判断 因为 AcpActivity launchMode="singleTask" 导致程序退到后台 #8

Open
jijizhou opened this issue Dec 29, 2017 · 1 comment

Comments

@jijizhou
Copy link

No description provided.

@jijizhou
Copy link
Author

// TOTO 动态权限
Acp.getInstance(mContext).request(new AcpOptions.Builder()
.setPermissions(
Manifest.permission.READ_PHONE_STATE
).build(),
new AcpListener()
{
@OverRide
public void onGranted()
{
result[0] = true;
}

                @Override
                public void onDenied(List<String> permissions)
                {
                    result[0] = false;
                }
            });

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