title: PackageManager.getInstalledApplications(0); in Android 7.0
body: <p>My problem is that I use package manager to list all the installed applications</p>
  
  <pre><code>final PackageManager pm = parentActivity.getPackageManager();
  List&lt;ApplicationInfo&gt; packages = pm.getInstalledApplications(0);
  </code></pre>
  
  <p>With this code I can list successfully all the applications in other versions of android except in <code>Android 7.0</code> (which only list the app that I'm using), can anyone knows why this is happening and how to solve it?</p>