Completely removed REQUEST_INSTALL_PACKAGES permission instead of stripping it out via gradle (32)
This commit is contained in:
parent
e4bc5abc01
commit
39d4405660
2 changed files with 6 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
||||||
- Google rejected the permission for ntfy, so this permission is STRIPPED OUT by the build process
|
- Google rejected the permission for ntfy, so this permission is STRIPPED OUT by the build process
|
||||||
for the Google Play variant of the app.
|
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
|
<application
|
||||||
android:name=".app.Application"
|
android:name=".app.Application"
|
||||||
|
|
|
@ -504,3 +504,8 @@ fun Button.dangerButton(context: Context) {
|
||||||
setTextColor(ContextCompat.getColor(context, Colors.dangerText(context)))
|
setTextColor(ContextCompat.getColor(context, Colors.dangerText(context)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fun Long.nullIfZero(): Long? {
|
||||||
|
return if (this == 0L) return null else this
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue