Merge "Update the summary strings in the Deletion Helper to match the latest mocks." into nyc-mr1-dev
This commit is contained in:
@@ -41,6 +41,7 @@ public class AppStateUsageStatsBridge extends AppStateBaseBridge {
|
||||
private PackageManager mPm;
|
||||
public static final long NEVER_USED = -1;
|
||||
public static final long UNKNOWN_LAST_USE = -2;
|
||||
public static final long UNUSED_DAYS_DELETION_THRESHOLD = 60;
|
||||
|
||||
public AppStateUsageStatsBridge(Context context, ApplicationsState appState,
|
||||
Callback callback) {
|
||||
@@ -105,7 +106,6 @@ public class AppStateUsageStatsBridge extends AppStateBaseBridge {
|
||||
* usage is unknown, it is skipped.
|
||||
*/
|
||||
public static final AppFilter FILTER_USAGE_STATS = new AppFilter() {
|
||||
private long UNUSED_DAYS_DELETION_THRESHOLD = 60;
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
|
@@ -394,7 +394,8 @@ public class DeletionHelperFragment extends SettingsPreferenceFragment implement
|
||||
mAppEntries.size()));
|
||||
mApps.setSummary(app.getString(R.string.deletion_helper_apps_group_summary,
|
||||
Formatter.formatFileSize(app,
|
||||
getTotalAppsFreeableSpace(true))));
|
||||
getTotalAppsFreeableSpace(true)),
|
||||
AppStateUsageStatsBridge.UNUSED_DAYS_DELETION_THRESHOLD));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user