title: Android updated system app is not granted new permission
body: <p>I have an app that is installed into our custom ROM in <code>/system/app</code></p>
  <p>When I add a system permission, such as <code>android.permission.REBOOT</code>, and install an update to the system app, the updated app does not get the new permission added in the update.</p>
  <p>When I add a non-system permission, such as <code>android.permission.INTERNET</code>, the app <em>does</em> see the new permission.</p>
  <p>We are trying to understand if there is a way to get around this without OTA'ing the system app.</p>
  <p>EDIT: here is how we are installing the package,</p>
  <pre><code>Class&lt;?&gt;[] installTypes = new Class[]{Uri.class, IPackageInstallObserver.class, int.class, String.class};
  installMethod = pm.getClass().getMethod(&quot;installPackage&quot;, installTypes);
  ...
  installMethod.invoke(pm, new Object[]{apkFile, observer, INSTALL_REPLACE_EXISTING, null});
  </code></pre>