turn on debuggin console log defaultly.
Change-Id: I455856600dc080a01340b5e5940a2facd2fab521
SizeUtils.Dpi = dpi;
SizeUtils.ScaleRatio = scaleRatio;
- string modelName;
- if (SystemSettingsPort.GetSystemModelName(out modelName))
+ try
{
- SizeUtils.SetModelName(modelName);
+ string modelName;
+ if (SystemSettingsPort.GetSystemModelName(out modelName))
+ {
+ SizeUtils.SetModelName(modelName);
+ }
+ }
+ catch (Exception e)
+ {
+ DbgPort.E("Cant get model name!!!, " + e.Message);
}
MainWindow = window;
TransitionToMain();
/// <summary>
/// A flag which enables console log writting
/// </summary>
- private static readonly bool IsNeedToShowInConsole = false;
+ private static readonly bool IsNeedToShowInConsole = true;
/// <summary>
/// Displays a log message which developer want to check