diff options
author | Александр Зацепин <az@mapswithme.com> | 2018-10-31 13:50:42 +0300 |
---|---|---|
committer | yoksnod <donskdmitry@mail.ru> | 2018-10-31 14:38:27 +0300 |
commit | 38f9887c993f6c070fccdbdc14a0db4846bc24d8 (patch) | |
tree | 3ec4f7c45af8574bb7148bba196e12203cf409e3 /android/src/com/mapswithme | |
parent | 6dc646fd1122b6e86a0bf2962a08a6576d557b2e (diff) |
[android] Fixed crash during logger initialization in NativeJobServiceandroid-gr-846
Diffstat (limited to 'android/src/com/mapswithme')
-rw-r--r-- | android/src/com/mapswithme/maps/scheduling/NativeJobService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/src/com/mapswithme/maps/scheduling/NativeJobService.java b/android/src/com/mapswithme/maps/scheduling/NativeJobService.java index cf7bee36e6..7ee4b4adf7 100644 --- a/android/src/com/mapswithme/maps/scheduling/NativeJobService.java +++ b/android/src/com/mapswithme/maps/scheduling/NativeJobService.java @@ -12,7 +12,6 @@ import com.mapswithme.util.log.LoggerFactory; @TargetApi(Build.VERSION_CODES.LOLLIPOP) public class NativeJobService extends JobService { - private static final Logger LOGGER = LoggerFactory.INSTANCE.getLogger(LoggerFactory.Type.MISC); private static final String TAG = NativeJobService.class.getSimpleName(); @SuppressWarnings("NullableProblems") @@ -29,7 +28,8 @@ public class NativeJobService extends JobService @Override public boolean onStartJob(JobParameters params) { - LOGGER.d(TAG, "onStartJob"); + Logger logger = LoggerFactory.INSTANCE.getLogger(LoggerFactory.Type.MISC); + logger.d(TAG, "onStartJob"); return mDelegate.onStartJob(); } |