From cec0a2735bceeeea736d1746b9319cc040bb08c6 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 17 Mar 2019 12:35:13 +0000 Subject: [PATCH] Refactoring --- app/src/main/java/eu/faircode/email/ServiceExternal.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ServiceExternal.java b/app/src/main/java/eu/faircode/email/ServiceExternal.java index 41d0b34a9e..4c97e2356a 100644 --- a/app/src/main/java/eu/faircode/email/ServiceExternal.java +++ b/app/src/main/java/eu/faircode/email/ServiceExternal.java @@ -10,8 +10,8 @@ import androidx.core.app.NotificationCompat; import androidx.preference.PreferenceManager; public class ServiceExternal extends Service { - private final static String ACTION_ENABLE = "eu.faircode.email.ENABLE"; - private final static String ACTION_DISABLE = "eu.faircode.email.DISABLE"; + private static final String ACTION_ENABLE = BuildConfig.APPLICATION_ID + ".ENABLE"; + private static final String ACTION_DISABLE = BuildConfig.APPLICATION_ID + ".DISABLE"; // adb shell am startservice -a eu.faircode.email.ENABLE // adb shell am startservice -a eu.faircode.email.DISABLE