aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Context.java
diff options
context:
space:
mode:
authorGavriel Fleischer <flocsy@gmail.com>2019-02-17 01:33:47 +0200
committerGavriel Fleischer <flocsy@gmail.com>2019-02-17 01:33:47 +0200
commit2e130b374fed3edc10b448120be0db3e388bfb28 (patch)
treef23a1248f7c1fde3d147b785238e03eef83216cc /src/org/traccar/Context.java
parent1e0e3a43894466246d6042ec71b9c01f63c58b13 (diff)
downloadtrackermap-server-2e130b374fed3edc10b448120be0db3e388bfb28.tar.gz
trackermap-server-2e130b374fed3edc10b448120be0db3e388bfb28.tar.bz2
trackermap-server-2e130b374fed3edc10b448120be0db3e388bfb28.zip
don't save response + decoder test
Diffstat (limited to 'src/org/traccar/Context.java')
-rw-r--r--src/org/traccar/Context.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java
index 95d433795..b0db90416 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -516,6 +516,10 @@ public final class Context {
identityManager = testIdentityManager;
}
+ public static void initMediaManager(MediaManager mediaManager) {
+ Context.mediaManager = mediaManager;
+ }
+
public static <T extends BaseModel> BaseObjectManager<T> getManager(Class<T> clazz) {
if (clazz.equals(Device.class)) {
return (BaseObjectManager<T>) deviceManager;