is System Update App - Android App

Android examples for App:Package

Description

is System Update App

Demo Code


//package com.java2s;

import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;

public class Main {
    public static boolean isSystemUpdateApp(PackageInfo pInfo) {
        return ((pInfo.applicationInfo.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0);
    }/* ww w.ja  v a2 s. c  o m*/
}

Related Tutorials