Enable nonTransitiveRClass flag
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -400,7 +400,7 @@ class NotificationService : Service() {
|
|||||||
|
|
||||||
private fun notifyInstallationStatus(app: App, status: String?) {
|
private fun notifyInstallationStatus(app: App, status: String?) {
|
||||||
val builder = NotificationCompat.Builder(this, Constants.NOTIFICATION_CHANNEL_ALERT)
|
val builder = NotificationCompat.Builder(this, Constants.NOTIFICATION_CHANNEL_ALERT)
|
||||||
builder.color = getStyledAttributeColor(R.attr.colorAccent)
|
builder.color = getStyledAttributeColor(R.color.colorAccent)
|
||||||
builder.setSmallIcon(R.drawable.ic_install)
|
builder.setSmallIcon(R.drawable.ic_install)
|
||||||
builder.setContentTitle(app.displayName)
|
builder.setContentTitle(app.displayName)
|
||||||
builder.setContentText(status)
|
builder.setContentText(status)
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ abstract class BaseBottomSheet : BottomSheetDialogFragment() {
|
|||||||
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
|
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
|
||||||
val bottomSheetDialog = BottomSheetDialog(
|
val bottomSheetDialog = BottomSheetDialog(
|
||||||
requireContext(),
|
requireContext(),
|
||||||
R.style.Theme_Material3_DayNight_BottomSheetDialog
|
R.style.AppTheme_Dialog
|
||||||
)
|
)
|
||||||
|
|
||||||
VM = SheetBaseBinding.inflate(layoutInflater)
|
VM = SheetBaseBinding.inflate(layoutInflater)
|
||||||
|
|||||||
@@ -111,4 +111,6 @@
|
|||||||
<style name="AppTheme.SwitchPreference" parent="@style/Preference.SwitchPreferenceCompat.Material">
|
<style name="AppTheme.SwitchPreference" parent="@style/Preference.SwitchPreferenceCompat.Material">
|
||||||
<item name="widgetLayout">@layout/preference_material_switch</item>
|
<item name="widgetLayout">@layout/preference_material_switch</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="AppTheme.Dialog" parent="Theme.Material3.DayNight.BottomSheetDialog" />
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -47,5 +47,3 @@ android.lifecycleProcessor.incremental=true
|
|||||||
# turn off AP discovery in compile path, and therefore turn on Compile Avoidance
|
# turn off AP discovery in compile path, and therefore turn on Compile Avoidance
|
||||||
kapt.include.compile.classpath=false
|
kapt.include.compile.classpath=false
|
||||||
android.enableR8.fullMode=false
|
android.enableR8.fullMode=false
|
||||||
android.nonTransitiveRClass=false
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user