Commit 1a0d02f86f679b0ab7900c845b9f44e125702d50
1 parent
bf444944
1 修改检测gps是否开启工具类
Showing
1 changed file
with
1 additions
and
1 deletions
core/base/src/main/java/com/cnlive/core/libs/base/util/CheckUtil.java
| @@ -102,7 +102,7 @@ public class CheckUtil { | @@ -102,7 +102,7 @@ public class CheckUtil { | ||
| 102 | try { | 102 | try { |
| 103 | Intent intent = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS); | 103 | Intent intent = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS); |
| 104 | context.startActivityForResult(intent, 10); | 104 | context.startActivityForResult(intent, 10); |
| 105 | - Toast.makeText(context, context.getString(R.string.open_high_gps_tip), Toast.LENGTH_LONG).show(); | 105 | + Toast.makeText(context, context.getString(R.string.open_normal_gps_tip), Toast.LENGTH_LONG).show(); |
| 106 | } catch (Exception e) { | 106 | } catch (Exception e) { |
| 107 | Toast.makeText(context, "请手动打开GPS", Toast.LENGTH_LONG).show(); | 107 | Toast.makeText(context, "请手动打开GPS", Toast.LENGTH_LONG).show(); |
| 108 | } | 108 | } |