List of usage examples for android.content.pm PermissionInfo PermissionInfo
private PermissionInfo(Parcel source)
From source file:android.content.pm.PackageParser.java
public static final PermissionInfo generatePermissionInfo(Permission p, int flags) { if (p == null) return null; if ((flags & PackageManager.GET_META_DATA) == 0) { return p.info; }/*from w ww.java2 s . c o m*/ PermissionInfo pi = new PermissionInfo(p.info); pi.metaData = p.metaData; return pi; }