Example usage for android.content.pm PermissionGroupInfo PermissionGroupInfo

List of usage examples for android.content.pm PermissionGroupInfo PermissionGroupInfo

Introduction

In this page you can find the example usage for android.content.pm PermissionGroupInfo PermissionGroupInfo.

Prototype

private PermissionGroupInfo(Parcel source) 

Source Link

Usage

From source file:android.content.pm.PackageParser.java

public static final PermissionGroupInfo generatePermissionGroupInfo(PermissionGroup pg, int flags) {
    if (pg == null)
        return null;
    if ((flags & PackageManager.GET_META_DATA) == 0) {
        return pg.info;
    }// w ww .  j  a  va  2  s . c  o m
    PermissionGroupInfo pgi = new PermissionGroupInfo(pg.info);
    pgi.metaData = pg.metaData;
    return pgi;
}