diff options
author | cyBerta <cyberta@riseup.net> | 2020-07-26 12:01:53 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2020-07-26 12:01:53 +0200 |
commit | 1a5c9778a59a8cc5391230c273b4d8f842a46992 (patch) | |
tree | d22a1845d7170f3cca69ed03b86ec1efebacf9ba /app/src/main/java/se/leap/bitmaskclient/eip | |
parent | 2b18c118239ba9c8caeb329ad1cafbe28632d02f (diff) |
JobIntentServices leak activity context in APIs < 25, use application context instead
Diffstat (limited to 'app/src/main/java/se/leap/bitmaskclient/eip')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/eip/EipCommand.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/eip/EipCommand.java b/app/src/main/java/se/leap/bitmaskclient/eip/EipCommand.java index 1f5b3741..1ee32654 100644 --- a/app/src/main/java/se/leap/bitmaskclient/eip/EipCommand.java +++ b/app/src/main/java/se/leap/bitmaskclient/eip/EipCommand.java @@ -27,7 +27,7 @@ import static se.leap.bitmaskclient.Constants.EIP_RECEIVER; public class EipCommand { private static void execute(@NotNull Context context, @NotNull String action) { - execute(context, action, null, null); + execute(context.getApplicationContext(), action, null, null); } /** |