|
@@ -15,6 +15,7 @@ import com.xplora.xpchat.model.GridModel;
|
|
|
import com.xplora.xpchat.model.MessageBean;
|
|
|
import com.xplora.xpchat.utils.Constant;
|
|
|
import com.xplora.xpchat.utils.Macros;
|
|
|
+import com.xplora.xpchat.utils.MetaData;
|
|
|
import com.xplora.xpchat.utils.ResUtils;
|
|
|
import com.xplora.xpchat.utils.ToolsUtils;
|
|
|
import com.xplora.xpchat.R;
|
|
@@ -478,4 +479,8 @@ public class DataManager {
|
|
|
public static void setTimeFormat(String format) {
|
|
|
Settings.System.putString(ChatApplication.getsContext().getContentResolver(), Settings.System.TIME_12_24, format);
|
|
|
}
|
|
|
+
|
|
|
+ public static void setNewMessageStatus() {
|
|
|
+ Settings.System.putString(ChatApplication.getsContext().getContentResolver(), MetaData.KEY_NEW_MESSAGE, "");
|
|
|
+ }
|
|
|
}
|