Update List of apps on device string,
remove "XX apps" string. Bug: 32692748 Test: m RunSettingsRoboTests Change-Id: I64f833497b5362f95cfc56a1057d97d9539ff029
This commit is contained in:
@@ -30,22 +30,13 @@ public interface ApplicationFeatureProvider {
|
||||
AppHeaderController newAppHeaderController(Fragment fragment, View appHeader);
|
||||
|
||||
/**
|
||||
* Count all installed packages, irrespective of install reason.
|
||||
*/
|
||||
public static final int IGNORE_INSTALL_REASON = -1;
|
||||
|
||||
/**
|
||||
* Calculates the total number of apps installed on the device, across all users and managed
|
||||
* profiles.
|
||||
* Calculates the total number of apps installed on the device via policy across all users
|
||||
* and managed profiles.
|
||||
*
|
||||
* @param installReason Only consider apps with this install reason; may be any install reason
|
||||
* defined in {@link android.content.pm.PackageManager} or
|
||||
* {@link #IGNORE_INSTALL_REASON} to count all apps, irrespective of install reason.
|
||||
* @param async Whether to count asynchronously in a background thread
|
||||
* @param callback The callback to invoke with the result
|
||||
*/
|
||||
void calculateNumberOfInstalledApps(int installReason, boolean async,
|
||||
NumberOfAppsCallback callback);
|
||||
void calculateNumberOfPolicyInstalledApps(boolean async, NumberOfAppsCallback callback);
|
||||
|
||||
/**
|
||||
* Asynchronously calculates the total number of apps installed on the device, across all users
|
||||
|
Reference in New Issue
Block a user