From: TrillGates Date: Sat, 5 Mar 2022 02:41:50 +0000 (+0800) Subject: 添加了log X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=bd55db09f18d6592ca719d14d21498a1989f6511;p=icsupport.git 添加了log --- diff --git a/app/src/main/java/com/enqualcomm/support/CoreService.java b/app/src/main/java/com/enqualcomm/support/CoreService.java index 7c717ee5..3ab20bea 100644 --- a/app/src/main/java/com/enqualcomm/support/CoreService.java +++ b/app/src/main/java/com/enqualcomm/support/CoreService.java @@ -270,6 +270,7 @@ public class CoreService extends Service { } //设置5分钟后结束紧急定位模式 setEmegencyLocationSTOPAlarm(5); + ICLogger.d("try to do sos call...."); if (!Config.SOSNoNeedDial) { //50ms后开始拨打电话 mHandler.postDelayed(mTriggerSOSCALLThread, 500); @@ -294,12 +295,15 @@ public class CoreService extends Service { private void trigger_SOS_Call() { try { + ICLogger.d("trigger_SOS_Call..."); //查询有没有IC的sos,如果有就用IC的SOS Intent icIntent = getPackageManager().getLaunchIntentForPackage("com.ic.sos"); if (icIntent != null) { + ICLogger.d("go ic sos call.."); icIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(icIntent); } else { + ICLogger.d("go eqc sos call.."); Intent intent = new Intent("com.eqc.shutdown_sos"); intent.putExtra("type", 1); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); diff --git a/app/version_code.properties b/app/version_code.properties index 53433a31..de68812e 100644 --- a/app/version_code.properties +++ b/app/version_code.properties @@ -1,2 +1,2 @@ -#Mon Feb 28 14:28:20 CST 2022 -VERSION_CODE=953 +#Sat Mar 05 10:25:16 CST 2022 +VERSION_CODE=955