mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-06-23 15:20:08 -04:00
rename InstalledAppProvider method after what it returns: last update
This commit is contained in:
@@ -32,7 +32,7 @@ public class InstalledAppProvider extends FDroidProvider {
|
||||
* @return The keys are the package names, and their corresponding values are
|
||||
* the {@link PackageInfo#lastUpdateTime last update time} in milliseconds.
|
||||
*/
|
||||
public static Map<String, Long> all(Context context) {
|
||||
public static Map<String, Long> lastUpdateTimes(Context context) {
|
||||
|
||||
Map<String, Long> cachedInfo = new HashMap<>();
|
||||
|
||||
|
||||
@@ -176,7 +176,7 @@ public class InstalledAppProviderService extends JobIntentService {
|
||||
*/
|
||||
public static void compareToPackageManager(Context context) {
|
||||
Utils.debugLog(TAG, "Comparing package manager to our installed app cache.");
|
||||
Map<String, Long> cachedInfo = InstalledAppProvider.Helper.all(context);
|
||||
Map<String, Long> cachedInfo = InstalledAppProvider.Helper.lastUpdateTimes(context);
|
||||
|
||||
List<PackageInfo> packageInfoList = context.getPackageManager()
|
||||
.getInstalledPackages(PackageManager.GET_SIGNATURES);
|
||||
|
||||
Reference in New Issue
Block a user