Use desugaring to upgrade zxing without having to increase minSdk

As documented by the zxing team on https://github.com/zxing/zxing/wiki/Frequently-Asked-Questions#it-doesnt-work-with-java-7--no-interface-method-sortljavautilcomparator
This commit is contained in:
Sylvia van Os
2021-07-28 23:05:27 +02:00
parent 96bc10583f
commit cbcf1bcd99
2 changed files with 9 additions and 6 deletions

View File

@@ -1,11 +1,10 @@
package protect.card_locker;
import android.app.Application;
import androidx.appcompat.app.AppCompatDelegate;
import androidx.multidex.MultiDexApplication;
import protect.card_locker.preferences.Settings;
public class LoyaltyCardLockerApplication extends Application {
public class LoyaltyCardLockerApplication extends MultiDexApplication {
public void onCreate() {
super.onCreate();