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

How to use other permissions that are not listed in PermissionUtils #1

Closed
hasnain-ahmad opened this issue May 24, 2016 · 1 comment
Closed

Comments

@hasnain-ahmad
Copy link

I am using your library in my project. I want to check some other permissions that are not listed in the
PermissionUtils class.
Here are some permissions.

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.RESTART_PACKAGES" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
<uses-permission android:name="android.permission.READ_LOGS" />

Here is modified PermissionUtils.java class
http://pastebin.com/PC1MNDCM
Here is the MainActivity.java
http://pastebin.com/yHkSSGed

@RurioLuca
Copy link
Owner

If these permissions are needed to use the application , they must be in the manifest , but you do not need to ask permission runtime !

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

2 participants