From 2b07865a70d9e1b78123abae38a68c8b20032912 Mon Sep 17 00:00:00 2001 From: Ezerous Date: Mon, 15 Oct 2018 21:21:36 +0300 Subject: [PATCH] Notification settings suppressed for >Oreo --- .../mthmmy/activities/LoginActivity.java | 1 - .../res/xml-v26/app_preferences_guest.xml | 30 +++++++++++ .../main/res/xml-v26/app_preferences_user.xml | 50 +++++++++++++++++++ 3 files changed, 80 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/xml-v26/app_preferences_guest.xml create mode 100644 app/src/main/res/xml-v26/app_preferences_user.xml diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/LoginActivity.java b/app/src/main/java/gr/thmmy/mthmmy/activities/LoginActivity.java index d6c840ad..1a5ad05f 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/activities/LoginActivity.java +++ b/app/src/main/java/gr/thmmy/mthmmy/activities/LoginActivity.java @@ -18,7 +18,6 @@ import gr.thmmy.mthmmy.R; import gr.thmmy.mthmmy.activities.main.MainActivity; import gr.thmmy.mthmmy.base.BaseActivity; import gr.thmmy.mthmmy.base.BaseApplication; -import timber.log.Timber; import static gr.thmmy.mthmmy.session.SessionManager.BANNED_USER; import static gr.thmmy.mthmmy.session.SessionManager.CONNECTION_ERROR; diff --git a/app/src/main/res/xml-v26/app_preferences_guest.xml b/app/src/main/res/xml-v26/app_preferences_guest.xml new file mode 100644 index 00000000..ee4ff969 --- /dev/null +++ b/app/src/main/res/xml-v26/app_preferences_guest.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + diff --git a/app/src/main/res/xml-v26/app_preferences_user.xml b/app/src/main/res/xml-v26/app_preferences_user.xml new file mode 100644 index 00000000..4b62ebdb --- /dev/null +++ b/app/src/main/res/xml-v26/app_preferences_user.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + +