InstabugFeaturesFetcherService.java
1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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
*/