It seems that ApplicationInfo.FLAG_UPDATED_SYSTEM_APP doesn't work correctly
<p>I try to track the system app before updating and I use:</p>

<pre><code>public static boolean isSystemApplication(Context ctx, IContent content) {
    android.content.pm.PackageManager pm = ctx.getPackageManager();
    List&lt;android.content.pm.ApplicationInfo&gt; apps = pm.getInstalledApplications(0);
    for (android.content.pm.ApplicationInfo app : apps) {
        if (app.packageName.equals(content.getContentPackage())) {
            return (app.sourceDir.startsWith("/system/app/") &amp;&amp; ((app.flags &amp; ApplicationInfo.FLAG_UPDATED_SYSTEM_APP ) != 1));
        }
    }
    return false;
}
</code></pre>

<p>but it seems that  (app.flags &amp; ApplicationInfo.FLAG_UPDATED_SYSTEM_APP ) != 1) returns always true even the system app was updated.</p>
