diff --git a/AnkiDroid/src/main/aidl/android/content/pm/IPackageStatsObserver.aidl b/AnkiDroid/src/main/aidl/android/content/pm/IPackageStatsObserver.aidl index c5e5d48b4a04..4a341189de73 100644 --- a/AnkiDroid/src/main/aidl/android/content/pm/IPackageStatsObserver.aidl +++ b/AnkiDroid/src/main/aidl/android/content/pm/IPackageStatsObserver.aidl @@ -26,6 +26,11 @@ import android.content.pm.PackageStats; * Some usage scenarios include deletion of cache directory, generate * statistics related to code, data, cache usage(TODO) * {@hide} + * + * This generates a deprecation warning during builds, and it would be great to remove it. + * There is only one usage: FileUtils::getUserDataAndCacheSizeUsingGetPackageSizeInfo + * The code that references this will no longer be needed after Build.VERSION_CODES >= 0 + * or minSdk >= 26 - at that API level we should be able to remove all related code / deprecation */ oneway interface IPackageStatsObserver { void onGetStatsCompleted(in PackageStats pStats, boolean succeeded);