互娱麦圈 and 聊天框问题。
This commit is contained in:
@@ -161,7 +161,7 @@ public class CommonAppContext extends MultiDexApplication implements Applicatio
|
||||
//设置mqtt环境 false 测试环境 true 正式环境
|
||||
// ExternalResConstants.INSTANCE.setIS_MQTT_RELEASE(false);
|
||||
//设置http环境 false 测试环境 true 正式环境
|
||||
ExternalResConstants.INSTANCE.setIS_HTTP_RELEASE(false);
|
||||
ExternalResConstants.INSTANCE.setIS_HTTP_RELEASE(true);
|
||||
currentEnvironment = ExternalResConstants.INSTANCE.HTTP_PATH();
|
||||
|
||||
|
||||
|
||||
@@ -65,7 +65,12 @@ public final class DataLogger implements DataLoggingInterceptor.Logger {
|
||||
if (message.startsWith(DataLoggingInterceptor.sLogEndFlag)) {
|
||||
if (mMessage.toString().contains("Xintiao/keep_xintiao"))
|
||||
return;
|
||||
LogUtils.d(mMessage.toString());
|
||||
try {
|
||||
LogUtils.d(mMessage.toString());
|
||||
} catch (StringIndexOutOfBoundsException e) {
|
||||
// 处理异常,记录日志或使用默认值
|
||||
LogUtils.e("打印 JSON 数据时出错:" + e.getMessage());
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -75,8 +80,11 @@ public final class DataLogger implements DataLoggingInterceptor.Logger {
|
||||
message = formatJson(decodeUnicode(message));
|
||||
}
|
||||
// 追加消息
|
||||
try { mMessage.append(message.concat("\n"));
|
||||
} catch (Exception ignored) {}
|
||||
try {
|
||||
mMessage.append(message.concat("\n"));
|
||||
} catch (Exception ignored) {
|
||||
LogUtils.e("打印 JSON append时出错:" + ignored.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
android:id="@+id/riv"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
@@ -35,6 +36,7 @@
|
||||
android:layout_marginEnd="-4dp"
|
||||
android:layout_marginTop="-4dp"
|
||||
android:layout_marginBottom="-4dp"
|
||||
android:adjustViewBounds="true"
|
||||
app:layout_constraintStart_toStartOf="@id/riv"
|
||||
app:layout_constraintEnd_toEndOf="@id/riv"
|
||||
app:layout_constraintTop_toTopOf="@id/riv"
|
||||
@@ -45,9 +47,9 @@
|
||||
android:id="@+id/iv_ripple"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:adjustViewBounds="true"
|
||||
app:autoPlay="false"
|
||||
app:layout_constraintHeight_percent="0.95"
|
||||
app:layout_constraintWidth_percent="1"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintBottom_toBottomOf="@id/iv_frame"
|
||||
app:layout_constraintEnd_toEndOf="@id/iv_frame"
|
||||
app:layout_constraintStart_toStartOf="@id/iv_frame"
|
||||
|
||||
@@ -894,7 +894,7 @@ class RoomActivity : BaseMvpActivity<RoomPresenter?, ActivityRoomBinding?>(),
|
||||
AppStateManager.getInstance().roomInfo = resp
|
||||
this.mRoomInfoResp = resp
|
||||
val roomBean = resp.room_info
|
||||
LogUtils.e("setView_mRoomBean", roomBean.toString())
|
||||
LogUtils.e("setView_mRoomBean", resp.toString())
|
||||
this.mRoomUserBean = resp.user_info
|
||||
this.mRoomOwnerBean = resp.room_owner
|
||||
this.roomId = roomBean.room_id
|
||||
|
||||
@@ -346,6 +346,7 @@ public class ChatRoomFragment extends BaseMvpFragment<ChatRoomPresenter, RoomFra
|
||||
mBinding.tvTabUser.setTextSize(12);
|
||||
} else if (view_id == R.id.tv_count) {
|
||||
mBinding.recycleViewPublic.scrollToPosition(easeChatAdapter.getItemCount() - 1);
|
||||
isBottom = true;
|
||||
mBinding.tvCount.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
|
||||
@@ -119,7 +119,7 @@ android {
|
||||
// 获取当前时间戳(格式:yyyyMMddHHmmss)
|
||||
def buildTimes = new Date().format("yyyy-MM-dd_HH_mm_ss")
|
||||
// def fileName = "羽声_${versionName}_${buildTimes}.apk"
|
||||
def fileName = "羽声_${buildTimes}.apk"
|
||||
def fileName = "羽声_${versionName}_${buildTimes}.apk"
|
||||
output.outputFileName = fileName
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,8 +28,8 @@ isBuildModule=false
|
||||
#org.gradle.deamon=false
|
||||
android.injected.testOnly=false
|
||||
|
||||
APP_VERSION_NAME=1.0.6.4
|
||||
APP_VERSION_CODE=53
|
||||
APP_VERSION_NAME=1.0.6.5
|
||||
APP_VERSION_CODE=54
|
||||
|
||||
org.gradle.jvm.toolchain.useLegacyAdapters=false
|
||||
#org.gradle.java.home=C\:\\Users\\qx\\.jdks\\ms-17.0.15
|
||||
|
||||
Reference in New Issue
Block a user