Enable nonTransitiveRClass flag

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2023-08-18 20:52:49 +05:30
parent 2b81c9ad61
commit 299cc4e11a
4 changed files with 4 additions and 4 deletions

View File

@@ -400,7 +400,7 @@ class NotificationService : Service() {
private fun notifyInstallationStatus(app: App, status: String?) {
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.setContentTitle(app.displayName)
builder.setContentText(status)

View File

@@ -45,7 +45,7 @@ abstract class BaseBottomSheet : BottomSheetDialogFragment() {
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
val bottomSheetDialog = BottomSheetDialog(
requireContext(),
R.style.Theme_Material3_DayNight_BottomSheetDialog
R.style.AppTheme_Dialog
)
VM = SheetBaseBinding.inflate(layoutInflater)

View File

@@ -111,4 +111,6 @@
<style name="AppTheme.SwitchPreference" parent="@style/Preference.SwitchPreferenceCompat.Material">
<item name="widgetLayout">@layout/preference_material_switch</item>
</style>
<style name="AppTheme.Dialog" parent="Theme.Material3.DayNight.BottomSheetDialog" />
</resources>

View File

@@ -47,5 +47,3 @@ android.lifecycleProcessor.incremental=true
# turn off AP discovery in compile path, and therefore turn on Compile Avoidance
kapt.include.compile.classpath=false
android.enableR8.fullMode=false
android.nonTransitiveRClass=false