Changing min-sdk version of Launcher to 31

Bug: 368071216
Flag: EXEMPT refactor -> dead code removal
Test: Presubmit
Change-Id: I1f0113c56de56f12f3a174eb31c3f8e8a09407e6
This commit is contained in:
Sunny Goyal committed 2024-09-20 06:00:10 +00:00
1 parent 8ad0e6b80a
commit 621918feda
27 files changed
+139 -260

No files matched your search

@@ -303,10 +303,7 @@ public class PackageManagerHelper implements SafeCloseable{
/** Returns the incremental download progress for the given shortcut's app. */
public static int getLoadingProgress(LauncherActivityInfo info) {
if (Utilities.ATLEAST_S) {
return (int) (100 * info.getLoadingProgress());
}
return 100;
return (int) (100 * info.getLoadingProgress());
}
/** Returns true in case app is installed on the device or in archived state. */