Doc update re use of MATCH_UNINSTALLED flag
This change updates the docs for the MATCH_UNINSTALLED flag to note that without the QUERY_ALL_PACKAGES permission, uninstalled packages will not be returned. Bug: 149846504 Test: builds Change-Id: Id0c5b7f29172bd334dc1b2a32ce1f4eb7b1f0bd3
This commit is contained in:
@@ -383,6 +383,9 @@ public abstract class PackageManager {
|
||||
* <p>
|
||||
* Note: this flag may cause less information about currently installed
|
||||
* applications to be returned.
|
||||
* <p>
|
||||
* Note: use of this flag requires the android.permission.QUERY_ALL_PACKAGES
|
||||
* permission to see uninstalled packages.
|
||||
*/
|
||||
public static final int MATCH_UNINSTALLED_PACKAGES = 0x00002000;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user