Commit a2b2566d authored by wanglei's avatar wanglei

...toast删除

parent dcaad049
...@@ -213,7 +213,7 @@ class StayJobService : JobService() { ...@@ -213,7 +213,7 @@ class StayJobService : JobService() {
googleLocation = latLng googleLocation = latLng
LogEx.logDebug(TAG, "getGoogleServiceLocation latLng=$latLng") LogEx.logDebug(TAG, "getGoogleServiceLocation latLng=$latLng")
if (BuildConfig.DEBUG) { if (BuildConfig.DEBUG) {
MyApplication.appContext.toast("googleLocation=$googleLocation") // MyApplication.appContext.toast("googleLocation=$googleLocation")
} }
oneShotLocationCallBack?.invoke() oneShotLocationCallBack?.invoke()
oneShotLocationCallBack = null oneShotLocationCallBack = null
......
...@@ -143,7 +143,7 @@ class LocationMapActivity : BaseActivity<ActivityLocationMapBinding>(), OnMapRea ...@@ -143,7 +143,7 @@ class LocationMapActivity : BaseActivity<ActivityLocationMapBinding>(), OnMapRea
currentViewingBean?.locatDate = locatDate currentViewingBean?.locatDate = locatDate
lifecycleScope.launch(Dispatchers.Main) { lifecycleScope.launch(Dispatchers.Main) {
if (BuildConfig.DEBUG) { if (BuildConfig.DEBUG) {
toast("getLocation ${locatDate?.latitude} ${locatDate?.longitude}") // toast("getLocation ${locatDate?.latitude} ${locatDate?.longitude}")
} }
val viewing = adapter.items.findLast { it.device == viewingBean.device } val viewing = adapter.items.findLast { it.device == viewingBean.device }
viewing?.locatDate = locatDate viewing?.locatDate = locatDate
...@@ -277,7 +277,7 @@ class LocationMapActivity : BaseActivity<ActivityLocationMapBinding>(), OnMapRea ...@@ -277,7 +277,7 @@ class LocationMapActivity : BaseActivity<ActivityLocationMapBinding>(), OnMapRea
} }
locationPresenter.refreshLocationCallBack = { locationPresenter.refreshLocationCallBack = {
if (BuildConfig.DEBUG) { if (BuildConfig.DEBUG) {
toast("updata ${it?.latitude} ${it?.longitude}") // toast("updata ${it?.latitude} ${it?.longitude}")
} }
LogEx.logDebug(TAG, "myLocation ${it}") LogEx.logDebug(TAG, "myLocation ${it}")
changeMyLocation(it, false, false, false) changeMyLocation(it, false, false, false)
......
...@@ -25,8 +25,7 @@ ...@@ -25,8 +25,7 @@
android:layout_marginTop="2dp" android:layout_marginTop="2dp"
android:layout_marginBottom="8dp" android:layout_marginBottom="8dp"
android:includeFontPadding="false" android:includeFontPadding="false"
android:maxLines="2"
android:text="@string/background_for_location" android:text="@string/background_for_location"
android:textSize="14sp" /> android:textSize="12sp" />
</LinearLayout> </LinearLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment