InstabugFeaturesFetcherService.java 1.23 KB
package com.instabug.library;

import com.instabug.library.e.c.a;
import com.instabug.library.internal.a.b;
import com.instabug.library.util.InstabugSDKLogger;
import java.io.File;

public class InstabugFeaturesFetcherService
  extends n
{
  protected void b()
    throws Exception
  {
    final b localb = new com.instabug.library.internal.module.a().a(this);
    if (getExternalCacheDir() != null) {}
    for (final File localFile = getExternalCacheDir();; localFile = getCacheDir())
    {
      localFile = new File(localFile, "com.instabug.library.settings");
      try
      {
        if ((!localFile.exists()) || (Math.abs(System.currentTimeMillis() - localFile.lastModified()) > 86400000L))
        {
          InstabugSDKLogger.d(this, "Feature file doesn't exist or too old, fetching features again");
          com.instabug.library.e.a.a.a().a(this, new c.a() {});
        }
        return;
      }
      catch (Exception localException)
      {
        InstabugSDKLogger.d(this, "Something went wrong while fetching features");
      }
    }
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/com/instabug/library/InstabugFeaturesFetcherService.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */