File tree 2 files changed +6
-6
lines changed
runtime/src/main/java/com/tns
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 8
8
"freeMemoryRatio" : 0.50 ,
9
9
"markingMode" : " full" ,
10
10
"maxLogcatObjectSize" : 1024 ,
11
- "forceLog" : false ,
12
- "discardUncaughtJsExceptions" : false
13
- }
11
+ "forceLog" : false
12
+ },
13
+ "discardUncaughtJsExceptions" : false
14
14
}
Original file line number Diff line number Diff line change @@ -58,6 +58,9 @@ public AppConfig(File appDir) {
58
58
String profiling = rootObject .getString (KnownKeys .Profiling .getName ());
59
59
values [KnownKeys .Profiling .ordinal ()] = profiling ;
60
60
}
61
+ if (rootObject .has (KnownKeys .DiscardUncaughtJsExceptions .getName ())) {
62
+ values [KnownKeys .DiscardUncaughtJsExceptions .ordinal ()] = rootObject .getBoolean (KnownKeys .DiscardUncaughtJsExceptions .getName ());
63
+ }
61
64
if (rootObject .has (AndroidKey )) {
62
65
JSONObject androidObject = rootObject .getJSONObject (AndroidKey );
63
66
if (androidObject .has (KnownKeys .V8FlagsKey .getName ())) {
@@ -113,9 +116,6 @@ public AppConfig(File appDir) {
113
116
if (androidObject .has (KnownKeys .ForceLog .getName ())) {
114
117
values [KnownKeys .ForceLog .ordinal ()] = androidObject .getBoolean (KnownKeys .ForceLog .getName ());
115
118
}
116
- if (androidObject .has (KnownKeys .DiscardUncaughtJsExceptions .getName ())) {
117
- values [KnownKeys .DiscardUncaughtJsExceptions .ordinal ()] = androidObject .getBoolean (KnownKeys .DiscardUncaughtJsExceptions .getName ());
118
- }
119
119
}
120
120
}
121
121
} catch (Exception e ) {
You can’t perform that action at this time.
0 commit comments