We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3643c67 commit 9fab963Copy full SHA for 9fab963
1 file changed
src/src/com/tns/Platform.java
@@ -116,11 +116,14 @@ public static int init(Context context) throws RuntimeException
116
int debuggerPort = jsDebugger.getDebuggerPortFromEnvironment();
117
118
//
119
- Date d = new Date();
120
- int pid = android.os.Process.myPid();
121
- File f = new File("/proc/" + pid);
122
- Date lastModDate = new Date(f.lastModified());
123
- if (IsLogEnabled) Log.d(DEFAULT_LOG_TAG, "init time=" + (d.getTime() - lastModDate.getTime()));
+ if (IsLogEnabled)
+ {
+ Date d = new Date();
+ int pid = android.os.Process.myPid();
+ File f = new File("/proc/" + pid);
124
+ Date lastModDate = new Date(f.lastModified());
125
+ Log.d(DEFAULT_LOG_TAG, "init time=" + (d.getTime() - lastModDate.getTime()));
126
+ }
127
128
129
return appJavaObjectId;
0 commit comments