mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 14:02:49 +00:00
Target API 29, update gradle and update the dependencies
This also fixes an issue with the use of the Iconics library where it was initialized twice. I also removed the dependency to [AndroidX Preference eXtended](https://github.com/takisoft/preferencex-android), as there don't seem to be any issues with using the vanilla AndroidX preference library anymore.
This commit is contained in:
parent
5e7697039a
commit
e58dec35c0
9 changed files with 28 additions and 38 deletions
|
@ -15,6 +15,8 @@ import android.os.Build;
|
|||
import com.beemdevelopment.aegis.db.DatabaseManager;
|
||||
import com.beemdevelopment.aegis.services.NotificationService;
|
||||
import com.beemdevelopment.aegis.ui.MainActivity;
|
||||
import com.mikepenz.iconics.Iconics;
|
||||
import com.mikepenz.material_design_iconic_typeface_library.MaterialDesignIconic;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
|
@ -37,6 +39,9 @@ public class AegisApplication extends Application {
|
|||
_prefs = new Preferences(this);
|
||||
_lockListeners = new ArrayList<>();
|
||||
|
||||
Iconics.init(this);
|
||||
Iconics.registerFont(new MaterialDesignIconic());
|
||||
|
||||
// listen for SCREEN_OFF events
|
||||
ScreenOffReceiver receiver = new ScreenOffReceiver();
|
||||
IntentFilter intentFilter = new IntentFilter();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue