mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 19:32:16 +00:00
Fix: Crash with Installation without root (Closes #119)
This commit is contained in:
parent
20f735845a
commit
1086df93c5
@ -279,7 +279,10 @@ class DownloadService : ConnectionService<DownloadService.Binder>() {
|
|||||||
.Builder(this, Common.NOTIFICATION_CHANNEL_DOWNLOADING)
|
.Builder(this, Common.NOTIFICATION_CHANNEL_DOWNLOADING)
|
||||||
.setAutoCancel(true)
|
.setAutoCancel(true)
|
||||||
.setSmallIcon(android.R.drawable.stat_sys_download_done)
|
.setSmallIcon(android.R.drawable.stat_sys_download_done)
|
||||||
.setColor(getColorFromAttr(R.attr.colorAccent).defaultColor)
|
.setColor(
|
||||||
|
ContextThemeWrapper(this, R.style.Theme_Main_Light)
|
||||||
|
.getColorFromAttr(android.R.attr.colorAccent).defaultColor
|
||||||
|
)
|
||||||
.setContentIntent(installIntent(task))
|
.setContentIntent(installIntent(task))
|
||||||
.setContentTitle(getString(R.string.downloaded_FORMAT, task.name))
|
.setContentTitle(getString(R.string.downloaded_FORMAT, task.name))
|
||||||
.setContentText(getString(R.string.tap_to_install_DESC))
|
.setContentText(getString(R.string.tap_to_install_DESC))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user