aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-07-26 16:02:03 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-07-26 16:02:03 +0530
commit5a12eff24ebab7cbbc4185f2851d35e12fe1a052 (patch)
treec2e0bdd986094349b7b2146e254493414a10eb1e /app/src
parentc51e68fda843dc5004bfd292a74db1498e08f6ad (diff)
chore: remove unnecessary suppressions
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/app/passwordstore/util/extensions/AndroidExtensions.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/app/passwordstore/util/extensions/AndroidExtensions.kt b/app/src/main/java/app/passwordstore/util/extensions/AndroidExtensions.kt
index 69a2d9db..70dfaac1 100644
--- a/app/src/main/java/app/passwordstore/util/extensions/AndroidExtensions.kt
+++ b/app/src/main/java/app/passwordstore/util/extensions/AndroidExtensions.kt
@@ -142,7 +142,7 @@ fun PackageManager.getPackageInfoCompat(packageName: String, flags: Int): Packag
return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
getPackageInfo(packageName, PackageInfoFlags.of(flags.toLong()))
} else {
- @Suppress("DEPRECATION") getPackageInfo(packageName, flags)
+ getPackageInfo(packageName, flags)
}
}
@@ -150,7 +150,7 @@ fun PackageManager.getApplicationInfoCompat(packageName: String, flags: Int): Ap
return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
getApplicationInfo(packageName, ApplicationInfoFlags.of(flags.toLong()))
} else {
- @Suppress("DEPRECATION") getApplicationInfo(packageName, flags)
+ getApplicationInfo(packageName, flags)
}
}