update Commons with joda proguard rules
This commit is contained in:
parent
fdaf5e9b2c
commit
72f71b9158
|
@ -42,7 +42,7 @@ ext {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.simplemobiletools:commons:3.4.12'
|
||||
implementation 'com.simplemobiletools:commons:3.5.4'
|
||||
implementation 'joda-time:joda-time:2.9.9'
|
||||
implementation 'com.facebook.stetho:stetho:1.5.0'
|
||||
implementation 'com.android.support:multidex:1.0.2'
|
||||
|
|
|
@ -1,7 +1 @@
|
|||
-keep class com.simplemobiletools.calendar.models.** { *; }
|
||||
|
||||
# Joda
|
||||
-dontwarn org.joda.convert.**
|
||||
-dontwarn org.joda.time.**
|
||||
-keep class org.joda.time.** { *; }
|
||||
-keep interface org.joda.time.** { *; }
|
||||
|
|
|
@ -107,8 +107,7 @@ class DayEventsAdapter(activity: SimpleActivity, val events: ArrayList<Event>, v
|
|||
DeleteEventDialog(activity, eventIds) {
|
||||
val eventsToDelete = ArrayList<Event>(selectedPositions.size)
|
||||
selectedPositions.sortedDescending().forEach {
|
||||
val event = events[it]
|
||||
eventsToDelete.add(event)
|
||||
eventsToDelete.add(events[it])
|
||||
}
|
||||
events.removeAll(eventsToDelete)
|
||||
|
||||
|
|
Loading…
Reference in New Issue