Completely removed REQUEST_INSTALL_PACKAGES permission instead of stripping it out via gradle (32)

This commit is contained in:
Philipp Heckel 2022-12-09 21:26:52 -05:00
parent e4bc5abc01
commit 39d4405660
2 changed files with 6 additions and 1 deletions

View file

@ -18,7 +18,7 @@
- Google rejected the permission for ntfy, so this permission is STRIPPED OUT by the build process
for the Google Play variant of the app.
-->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
<!-- <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/> -->
<application
android:name=".app.Application"

View file

@ -504,3 +504,8 @@ fun Button.dangerButton(context: Context) {
setTextColor(ContextCompat.getColor(context, Colors.dangerText(context)))
}
}
fun Long.nullIfZero(): Long? {
return if (this == 0L) return null else this
}