Commit 24affd8c authored by fengruiyu's avatar fengruiyu

Merge branch 'dev_1.0.0' of http://39.97.65.143:81/android/android_street into fry_dev

parents 7c924bd6 32cc14ed
...@@ -67,7 +67,7 @@ android { ...@@ -67,7 +67,7 @@ android {
// 不显示Log // 不显示Log
buildConfigField "boolean", "LOG_DEBUG", "true" buildConfigField "boolean", "LOG_DEBUG", "true"
buildConfigField "String", "AppKeyPre", "\"abcd\"" buildConfigField "String", "AppKeyPre", "\"abcd\""
buildConfigField "String", "MainIp", DEBUG_URL buildConfigField "String", "MainIp", RELEASE_URL
//混淆 //混淆
minifyEnabled false minifyEnabled false
......
...@@ -312,6 +312,7 @@ class HomeFragment(val mainActivity: MainActivity) : BaseFragment<FragmentHomeBi ...@@ -312,6 +312,7 @@ class HomeFragment(val mainActivity: MainActivity) : BaseFragment<FragmentHomeBi
mSensorManager?.unregisterListener(this) mSensorManager?.unregisterListener(this)
// 退出时销毁定位 // 退出时销毁定位
mLocClient?.stop() mLocClient?.stop()
mSearch?.destroy()
// 关闭定位图层 // 关闭定位图层
mBaiduMap?.isMyLocationEnabled = false mBaiduMap?.isMyLocationEnabled = false
binding.bmapView.onDestroy() binding.bmapView.onDestroy()
......
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="15dp" android:paddingLeft="15dp"
android:paddingTop="5dp" android:paddingTop="5dp"
android:paddingRight="15dp"
android:textSize="12sp" android:textSize="12sp"
android:text="巴黎嫩作为文化十字路口的历史可以追溯到数千年前。探索其古老的以及和自然奇观。" /> android:text="巴黎嫩作为文化十字路口的历史可以追溯到数千年前。探索其古老的以及和自然奇观。" />
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_marginTop="30dp" android:layout_marginTop="30dp"
android:text="想要继续无限方法又不模糊?" android:text="想要继续无限缩放又不模糊?"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="14sp" /> android:textSize="14sp" />
......
...@@ -52,13 +52,14 @@ android { ...@@ -52,13 +52,14 @@ android {
buildTypes { buildTypes {
release { release {
buildConfigField ("boolean","IS_DEV","false") buildConfigField ("boolean","IS_DEV","false")
buildConfigField ("String","DEBUG_URL",DEBUG_URL) buildConfigField ("String","MAINIP",RELEASE_URL)
minifyEnabled false minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
} }
debug{ debug{
buildConfigField ("boolean","IS_DEV","true") buildConfigField ("boolean","IS_DEV","true")
buildConfigField ("String","DEBUG_URL",DEBUG_URL) buildConfigField ("String","MAINIP",DEBUG_URL)
// buildConfigField ("String","MAINIP",RELEASE_URL)
} }
} }
// productFlavors { // productFlavors {
......
...@@ -41,7 +41,6 @@ public class Constants { ...@@ -41,7 +41,6 @@ public class Constants {
} }
public static String getBaseUrl() { public static String getBaseUrl() {
return BuildConfig.MAINIP;
return BuildConfig.DEBUG_URL;
} }
} }
\ 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