替换logo
@ -5,10 +5,10 @@
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:icon="@mipmap/ic_logo"
|
||||
android:label="@string/app_name"
|
||||
android:networkSecurityConfig="@xml/network_security_config"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:roundIcon="@mipmap/ic_logo"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.WKIM"
|
||||
android:usesCleartextTraffic="true"
|
||||
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 5.2 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_logo.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 3.3 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_logo.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 7.3 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_logo.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 12 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_logo.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 16 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_logo.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
@ -1,14 +1,12 @@
|
||||
package com.xinbida.wukongim.db;
|
||||
|
||||
import static com.xinbida.wukongim.db.WKDBColumns.TABLE.channel;
|
||||
import static com.xinbida.wukongim.db.WKDBColumns.TABLE.channelMembers;
|
||||
import static com.xinbida.wukongim.db.WKDBColumns.TABLE.message;
|
||||
import static com.xinbida.wukongim.db.WKDBColumns.TABLE.messageExtra;
|
||||
|
||||
import android.content.ContentValues;
|
||||
import android.database.Cursor;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
|
||||
import com.xinbida.wukongim.WKIM;
|
||||
import com.xinbida.wukongim.WKIMApplication;
|
||||
@ -118,8 +116,6 @@ public class MsgDbManager {
|
||||
int num = getDeletedCount(tempList.get(i).messageSeq, tempList.get(nextIndex).messageSeq, channelId, channelType);
|
||||
if (num < (tempList.get(nextIndex).messageSeq - tempList.get(i).messageSeq) - 1) {
|
||||
isSyncMsg = true;
|
||||
// syncMaxMsgSeq = tempList.get(nextIndex).messageSeq;
|
||||
// syncMinMsgSeq = tempList.get(i).messageSeq;
|
||||
long max = tempList.get(nextIndex).messageSeq;
|
||||
long min = tempList.get(i).messageSeq;
|
||||
if (tempList.get(nextIndex).messageSeq < tempList.get(i).messageSeq) {
|
||||
@ -134,8 +130,6 @@ public class MsgDbManager {
|
||||
startMsgSeq = min;
|
||||
endMsgSeq = max;
|
||||
}
|
||||
// if (pullMode == 0) reverse = false;//区间大值开始获取
|
||||
// else reverse = true;//区间小值开始获取
|
||||
break;
|
||||
}
|
||||
}
|
||||
|