diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-05 01:49:54 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-05 02:02:09 +0200 |
commit | 27072972ab944467bf7286afe4bfd89a4b795753 (patch) | |
tree | 54f8cba070fe72a4ba96d61bade23f434a894f98 /app/src/main/java/com/wireguard/android/Application.java | |
parent | d56e95c576ebcc9c070a41e1c13fb78951ef63b1 (diff) |
DarkMode: move to shared preferences listener
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/java/com/wireguard/android/Application.java')
-rw-r--r-- | app/src/main/java/com/wireguard/android/Application.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/src/main/java/com/wireguard/android/Application.java b/app/src/main/java/com/wireguard/android/Application.java index b8562606..74cb07cf 100644 --- a/app/src/main/java/com/wireguard/android/Application.java +++ b/app/src/main/java/com/wireguard/android/Application.java @@ -23,7 +23,6 @@ import com.wireguard.android.model.TunnelManager; import com.wireguard.android.util.AsyncWorker; import com.wireguard.android.util.RootShell; import com.wireguard.android.util.ToolsInstaller; -import com.wireguard.android.util.Topic; import java.io.File; import java.util.concurrent.Executor; @@ -68,8 +67,6 @@ public class Application extends android.app.Application { ToolsInstaller getToolsInstaller(); TunnelManager getTunnelManager(); - - Topic getThemeChangeTopic(); } @Qualifier @@ -121,13 +118,6 @@ public class Application extends android.app.Application { @ApplicationScope @Provides - public static Topic getThemeChangeTopic() { - return new Topic(); - } - - - @ApplicationScope - @Provides public static Executor getExecutor() { return AsyncTask.SERIAL_EXECUTOR; } |