mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
799 B
Java
42 lines
799 B
Java
package org.tasks.preferences;
|
|
|
|
import android.content.Context;
|
|
|
|
import org.tasks.injection.ForApplication;
|
|
|
|
public class PermissivePermissionChecker extends PermissionChecker {
|
|
public PermissivePermissionChecker(@ForApplication Context context) {
|
|
super(context);
|
|
}
|
|
|
|
@Override
|
|
public boolean canAccessCalendars() {
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public boolean canWriteToExternalStorage() {
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public boolean canAccessAccounts() {
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public boolean canAccessLocation() {
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public boolean canAccessMic() {
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public boolean canAccessMissedCallPermissions() {
|
|
return true;
|
|
}
|
|
}
|