List of usage examples for android.content.pm PermissionInfo FLAG_COSTS_MONEY
int FLAG_COSTS_MONEY
To view the source code for android.content.pm PermissionInfo FLAG_COSTS_MONEY.
Click Source Link
costsMoney
value of android.R.attr#permissionFlags . From source file:org.fdroid.fdroid.privileged.views.AppSecurityPermissions.java
private PermissionItemView getPermissionItemView(MyPermissionGroupInfo grp, MyPermissionInfo perm, boolean first, CharSequence newPermPrefix) { PermissionItemView permView = (PermissionItemView) inflater .inflate(Build.VERSION.SDK_INT >= 17 && (perm.flags & PermissionInfo.FLAG_COSTS_MONEY) != 0 ? R.layout.app_permission_item_money : R.layout.app_permission_item, null); permView.setPermission(grp, perm, first, newPermPrefix); return permView; }