diff options
author | Gavriel Fleischer <flocsy@gmail.com> | 2019-02-17 01:33:47 +0200 |
---|---|---|
committer | Gavriel Fleischer <flocsy@gmail.com> | 2019-02-17 01:33:47 +0200 |
commit | 2e130b374fed3edc10b448120be0db3e388bfb28 (patch) | |
tree | f23a1248f7c1fde3d147b785238e03eef83216cc /src/org/traccar/Context.java | |
parent | 1e0e3a43894466246d6042ec71b9c01f63c58b13 (diff) | |
download | trackermap-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.java | 4 |
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; |