正在查看: 微商客 v2.1.2 应用的 VideoSendActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 微商客 v2.1.2 应用的 VideoSendActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.jianzhen.wsk.ui.groupsend;
import android.app.Activity;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import android.os.Environment;
import android.os.Handler;
import android.os.Looper;
import android.provider.MediaStore;
import android.text.TextUtils;
import android.view.View;
import android.view.accessibility.AccessibilityNodeInfo;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import com.alibaba.fastjson.JSON;
import com.auxiliary.library.core.NodeExecutor;
import com.auxiliary.library.node.SelectNode;
import com.auxiliary.library.node.ViewNode;
import com.auxiliary.library.node.base.INode;
import com.auxiliary.library.node.base.PageNode;
import com.auxiliary.library.service.AuxiliaryService;
import com.auxiliary.library.service.IAccessibility;
import com.auxiliary.library.widget.ExecutorWindow;
import com.hjq.permissions.OnPermissionCallback;
import com.hjq.permissions.XXPermissions;
import com.jianzhen.wsk.BaseActivity;
import com.jianzhen.wsk.R;
import com.jianzhen.wsk.bean.AllFriendSend;
import com.jianzhen.wsk.bean.GroupListData;
import com.jianzhen.wsk.bean.GroupSendData;
import com.jianzhen.wsk.bean.NameList;
import com.jianzhen.wsk.bean.SendTagListData;
import com.jianzhen.wsk.bean.TagAndGroupBean;
import com.jianzhen.wsk.dialog.BaseDialog;
import com.jianzhen.wsk.dialog.GetAllGroupDataDialog;
import com.jianzhen.wsk.dialog.PermissionTipDialog;
import com.jianzhen.wsk.dialog.SelectStartLocationWithVidoSendDialog;
import com.jianzhen.wsk.net.api.Constant;
import com.jianzhen.wsk.utils.DataSaveUtils;
import com.jianzhen.wsk.utils.ScriptLoadUtil;
import com.jianzhen.wsk.utils.SharedPreferencesUtil;
import com.jianzhen.wsk.utils.Utils;
import com.jianzhen.wsk.v1.activity.More2OneListActivity;
import com.kongzue.dialogx.dialogs.PopNotification;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.function.Function;
import java.util.function.Predicate;
import java.util.stream.Collectors;
public class VideoSendActivity extends MessageSendActivity implements View.OnClickListener, NodeExecutor.StatusCallback {
static final boolean $assertionsDisabled = false;
private GroupSendData groupData;
private ExecutorWindow mExecutorWindow;
private List<SendTagListData.FriendTagList> sendTaglist;
private ImageView showVideoView;
private int tagLocation;
private RelativeLayout videLay;
private String videoPath = "";
private final Handler handlerPost = new Handler(Looper.getMainLooper());
private int allStart = 0;
private int allSendNum = 0;
private String myWxName = "";
private boolean isAgainSend = false;
public List<GroupListData> partGroupAgainList = new ArrayList();
public List<GroupListData> savaGroupAgainList = new ArrayList();
private List<SendTagListData.FriendTagList> tagSendAgainList = new ArrayList();
public void onFail(NodeExecutor nodeExecutor, Throwable th) {
}
public void onPause(NodeExecutor nodeExecutor) {
}
public void onResume(NodeExecutor nodeExecutor) {
}
public static void startActivity(Activity activity, String str) {
Intent intent = new Intent(activity, (Class<?>) VideoSendActivity.class);
intent.putExtra("funcId", str);
activity.startActivity(intent);
}
@Override
protected void initView() {
this.videLay = (RelativeLayout) findViewById(R.id.video_lay);
this.showVideoView = (ImageView) findViewById(R.id.video_show);
ImageView imageView = (ImageView) findViewById(R.id.video_delete);
findViewById(R.id.send_ok).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
if (VideoSendActivity.this.getEdText().isEmpty() && !VideoSendActivity.this.isSendVideo()) {
BaseActivity.showCenterToast("请输入发送的内容,或选择视频!");
return;
}
if (!VideoSendActivity.this.isSendVideo()) {
BaseActivity.showCenterToast("请选择视频!");
return;
}
if (VideoSendActivity.this.sendObjectTv.getText().toString().equals("请选择") || VideoSendActivity.this.isSelectObject == 0) {
BaseActivity.showCenterToast("请选择群发对象!");
return;
}
if (VideoSendActivity.this.isSelectObject == 200) {
List<TagAndGroupBean> partGroupListData = DataSaveUtils.getPartGroupListData(VideoSendActivity.this);
if (partGroupListData == null) {
new GetAllGroupDataDialog(VideoSendActivity.this).show();
return;
} else if (partGroupListData.isEmpty()) {
new GetAllGroupDataDialog(VideoSendActivity.this).show();
return;
}
}
VideoSendActivity videoSendActivity = VideoSendActivity.this;
videoSendActivity.getFuncLimit(videoSendActivity.funcId);
}
});
imageView.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
VideoSendActivity.this.lambda$initView$0(view);
}
});
findViewById(R.id.video_select_lay).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
if (Build.VERSION.SDK_INT >= 30) {
if (!Environment.isExternalStorageManager()) {
new PermissionTipDialog(VideoSendActivity.this, "获取文件访问权限说明:\n用于拍摄、储存视频以及在相册中浏览查看视频", new PermissionTipDialog.Callback() {
@Override
public void onSure() {
Intent intent = new Intent("android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION");
intent.setData(Uri.parse("package:" + VideoSendActivity.this.getPackageName()));
VideoSendActivity.this.startActivityForResult(intent, 2);
}
}).show();
return;
} else {
VideoSendActivity.this.toSelectVideo();
return;
}
}
VideoSendActivity.this.toSelectVideo();
}
});
this.partGroupAgainList = getPartGroupHis();
this.savaGroupAgainList = getSavaGroupHis();
this.tagSendAgainList = getTagSendHis();
}
public void lambda$initView$0(View view) {
videoGone();
}
public void toSelectVideo() {
this.mPopNotification = PopNotification.build();
this.mPopNotification.setTitle("存储权限使用说明:").setMessage("用于储存视频以及在相册中浏览查看视频").noAutoDismiss().show();
XXPermissions.with((Context) this).permission(Utils.imgPermission(this)).request(new OnPermissionCallback() {
@Override
public void onGranted(List<String> list, boolean z) {
Intent intent = new Intent("android.intent.action.GET_CONTENT");
intent.setDataAndType(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, "video/*");
VideoSendActivity.this.startActivityForResult(intent, More2OneListActivity.IS_SELECT_TO_GROUP);
if (VideoSendActivity.this.mPopNotification != null) {
VideoSendActivity.this.mPopNotification.dismiss();
}
}
@Override
public void onDenied(List<String> list, boolean z) {
if (VideoSendActivity.this.mPopNotification != null) {
VideoSendActivity.this.mPopNotification.dismiss();
}
}
});
}
protected void onActivityResult(int i, int i2, Intent intent) {
super.onActivityResult(i, i2, intent);
if (i != 1000 || i2 != -1 || intent == null || intent.getData() == null) {
return;
}
String convertUriToFilePath = Utils.convertUriToFilePath(this, intent.getData());
this.videoPath = convertUriToFilePath;
if (TextUtils.isEmpty(convertUriToFilePath)) {
showCenterToast("该视频文件已损坏");
videoGone();
return;
}
if (!this.videoPath.endsWith("mp4")) {
showCenterToast("请选择mp4文件");
videoGone();
return;
}
if (Utils.getVideoTime(this, this.videoPath) > 300000) {
showCenterToast("请选择5分钟以内的视频");
videoGone();
} else if (new File(this.videoPath).length() > 524288000) {
showCenterToast("选择视频过大");
videoGone();
} else {
this.showVideoView.setImageBitmap(Utils.getVideoThumbnail(this.videoPath));
this.videLay.setVisibility(0);
}
}
private void videoGone() {
this.videoPath = "";
this.videLay.setVisibility(8);
}
public void saveVideoToPublicDirectory(String str, String str2) {
ContentResolver contentResolver = getContentResolver();
Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MOVIES).toString();
Uri uri = MediaStore.Video.Media.EXTERNAL_CONTENT_URI;
ContentValues contentValues = new ContentValues();
contentValues.put("_display_name", str2);
contentValues.put("mime_type", "video/mp4");
contentValues.put("relative_path", Environment.DIRECTORY_MOVIES);
Uri insert = contentResolver.insert(uri, contentValues);
if (insert != null) {
try {
FileInputStream fileInputStream = new FileInputStream(new File(str));
OutputStream openOutputStream = contentResolver.openOutputStream(insert);
byte[] bArr = new byte[1024];
while (true) {
int read = fileInputStream.read(bArr);
if (read != -1) {
openOutputStream.write(bArr, 0, read);
} else {
fileInputStream.close();
openOutputStream.close();
return;
}
}
} catch (IOException e) {
e.printStackTrace();
}
} else {
showCenterToast("权限异常,卸载重装再试!");
}
}
@Override
public void lambda$setNotYearVipTip$7() {
if (isSendVideo()) {
saveVideoToPublicDirectory(this.videoPath, System.currentTimeMillis() + "");
}
this.handlerPost.post(new Runnable() {
@Override
public final void run() {
VideoSendActivity.this.lambda$SendWxStart$1();
}
});
}
public void lambda$SendWxStart$1() {
if (this.isSelectObject == 100 || this.isSelectObject == 102) {
new SelectStartLocationWithVidoSendDialog(this) {
@Override
protected void okData(String str) {
super.okData(str);
if (str != null && !str.isEmpty()) {
if (Integer.parseInt(str) > 0) {
VideoSendActivity.this.allStart = Integer.parseInt(str) - 1;
} else {
VideoSendActivity.this.allStart = 0;
}
} else {
VideoSendActivity.this.allStart = 0;
}
Utils.openWx(VideoSendActivity.this);
VideoSendActivity.this.sendAllFriendOrNotSendFriend();
}
}.show();
return;
}
if (this.isSelectObject == 101) {
List<SendTagListData.FriendTagList> list = this.tagSendAgainList;
if (list != null && !list.isEmpty()) {
setAgainDialog();
return;
} else {
start();
return;
}
}
if (this.isSelectObject == 200 || this.isSelectObject == 201) {
List<GroupListData> list2 = this.partGroupAgainList;
if (list2 != null && !list2.isEmpty()) {
setAgainDialog();
return;
} else {
start();
return;
}
}
if (this.isSelectObject == 202) {
List<GroupListData> list3 = this.savaGroupAgainList;
if (list3 != null && !list3.isEmpty()) {
setAgainDialog();
} else {
start();
}
}
}
public void sendAllFriendOrNotSendFriend() {
try {
this.mExecutorWindow = ScriptLoadUtil.loadWx(AuxiliaryService.getAccessibility(), this.funcId, "video_send_all_friend");
AllFriendSend allFriendSend = new AllFriendSend();
allFriendSend.setOnlyText(false);
allFriendSend.setOnlyVideo(false);
allFriendSend.setFirst_video(false);
allFriendSend.setFirst_text(false);
allFriendSend.setStart(this.allStart);
if (isSendVideo()) {
if (this.sendTextEd.getText().toString().isEmpty()) {
allFriendSend.setOnlyVideo(true);
} else if (this.firstSendTextIv.isSelected()) {
allFriendSend.setFirst_text(true);
} else {
allFriendSend.setFirst_video(true);
}
} else {
allFriendSend.setOnlyText(true);
}
this.mExecutorWindow.showFloatWindow();
allFriendSend.setSendText(getEdText());
allFriendSend.setTime(this.sendTime);
this.mExecutorWindow.setArgs(allFriendSend);
this.notSendData.add(new NameList("微信团队"));
this.notSendData.add(new NameList("文件传输助手"));
this.notSendData.add(new NameList("未设置标签的朋友"));
this.notSendData.add(new NameList("企业微信联系人"));
this.mExecutorWindow.setIFilter(new NodeExecutor.IFilter() {
public final List onFilter(NodeExecutor nodeExecutor, INode iNode, List list, Object obj) {
List lambda$sendAllFriendOrNotSendFriend$2;
lambda$sendAllFriendOrNotSendFriend$2 = VideoSendActivity.this.lambda$sendAllFriendOrNotSendFriend$2(nodeExecutor, iNode, list, obj);
return lambda$sendAllFriendOrNotSendFriend$2;
}
});
this.mExecutorWindow.setIProgress(new NodeExecutor.IProgress() {
public final boolean onProgress(IAccessibility iAccessibility, INode iNode, Object[] objArr, int i, NodeExecutor nodeExecutor) {
boolean lambda$sendAllFriendOrNotSendFriend$3;
lambda$sendAllFriendOrNotSendFriend$3 = VideoSendActivity.this.lambda$sendAllFriendOrNotSendFriend$3(iAccessibility, iNode, objArr, i, nodeExecutor);
return lambda$sendAllFriendOrNotSendFriend$3;
}
});
this.mExecutorWindow.setCallback(new NodeExecutor.DefaultCallback(this) {
public boolean onNodeFound(PageNode pageNode, ViewNode viewNode, NodeExecutor nodeExecutor) {
if (pageNode.getPageName() != null && pageNode.getPageName().equals("视频群发所有好友-选择好友")) {
VideoSendActivity.this.allSendNum++;
VideoSendActivity.this.mExecutorWindow.setProgress("正在操作第" + VideoSendActivity.this.allSendNum + "位好友");
}
return super.onNodeFound(pageNode, viewNode, nodeExecutor);
}
});
this.mExecutorWindow.addStatusCallback(this);
} catch (Exception e) {
e.printStackTrace();
}
}
public List lambda$sendAllFriendOrNotSendFriend$2(NodeExecutor nodeExecutor, INode iNode, List list, Object obj) {
ArrayList arrayList = new ArrayList(list);
if (!this.notSendData.isEmpty()) {
for (NameList nameList : this.notSendData) {
Iterator it = list.iterator();
while (true) {
if (!it.hasNext()) {
break;
}
AccessibilityNodeInfo accessibilityNodeInfo = (AccessibilityNodeInfo) it.next();
if (accessibilityNodeInfo != null && accessibilityNodeInfo.getText() != null && nameList.nameText.equals(accessibilityNodeInfo.getText().toString())) {
arrayList.remove(accessibilityNodeInfo);
break;
}
}
}
}
return arrayList;
}
public boolean lambda$sendAllFriendOrNotSendFriend$3(IAccessibility iAccessibility, INode iNode, Object[] objArr, int i, NodeExecutor nodeExecutor) {
if (!this.isVipOrFree && i > Constant.sendMessageNum - 1) {
this.mExecutorWindow.stop();
}
return true;
}
private void sendSelectTagFriend() {
if (this.sendTagListData1 == null || this.sendTagListData1.getTag_list() == null || this.sendTagListData1.getTag_list().size() <= 0) {
showCenterToast("请选择群发的标签!");
return;
}
Utils.openWx(this);
String edText = getEdText();
List<SendTagListData.FriendTagList> list = this.tagSendAgainList;
if (list != null && !list.isEmpty() && this.isAgainSend) {
this.sendTagListData1.setTag_list(new ArrayList(this.tagSendAgainList));
}
for (SendTagListData.FriendTagList friendTagList : this.sendTagListData1.getTag_list()) {
friendTagList.setSend_text(edText);
friendTagList.setFirst_video(!this.firstSendTextIv.isSelected());
friendTagList.setIs_have_text(!this.sendTextEd.getText().toString().isEmpty());
}
try {
this.mExecutorWindow = ScriptLoadUtil.loadWx(AuxiliaryService.getAccessibility(), this.funcId, "video_send_select_friend");
if (!this.isVipOrFree && this.sendTagListData1.getTag_list().size() > Constant.sendMessageNum) {
this.sendTagListData1.setTag_list(this.sendTagListData1.getTag_list().subList(0, Constant.sendMessageNum));
}
this.mExecutorWindow.setArgs(this.sendTagListData1);
this.mExecutorWindow.showFloatWindow();
this.mExecutorWindow.addStatusCallback(this);
this.mExecutorWindow.setCallback(new AnonymousClass6(this));
ArrayList arrayList = new ArrayList();
this.tagSendAgainList = arrayList;
arrayList.addAll(this.sendTagListData1.getTag_list());
setTagSendHis(this.tagSendAgainList);
} catch (Exception e) {
e.printStackTrace();
}
}
class AnonymousClass6 extends NodeExecutor.DefaultCallback {
AnonymousClass6(Context context) {
super(context);
}
public boolean onNodeFound(PageNode pageNode, ViewNode viewNode, NodeExecutor nodeExecutor) {
final String text;
if (pageNode.getPageName() != null && pageNode.getPageName().equals("逐个好友群发-点击标签") && (text = viewNode.getText()) != null && !text.isEmpty()) {
VideoSendActivity.this.tagSendAgainList.removeIf(new Predicate() {
@Override
public final boolean test(Object obj) {
boolean equals;
equals = ((SendTagListData.FriendTagList) obj).getTag_name().equals(text);
return equals;
}
});
VideoSendActivity videoSendActivity = VideoSendActivity.this;
videoSendActivity.setTagSendHis(videoSendActivity.tagSendAgainList);
}
return super.onNodeFound(pageNode, viewNode, nodeExecutor);
}
}
private void sendGroup() {
throw new UnsupportedOperationException("Method not decompiled: com.jianzhen.wsk.ui.groupsend.VideoSendActivity.sendGroup():void");
}
public void lambda$sendGroup$9(SelectNode selectNode, List list, Object obj, NodeExecutor nodeExecutor) {
final List list2 = (List) list.stream().filter(new Predicate() {
@Override
public final boolean test(Object obj2) {
return VideoSendActivity.lambda$sendGroup$4((NodeExecutor.NodeParam) obj2);
}
}).map(new Function() {
@Override
public final Object apply(Object obj2) {
String str;
str = ((NodeExecutor.NodeParam) obj2).text;
return str;
}
}).filter(new Predicate() {
@Override
public final boolean test(Object obj2) {
return VideoSendActivity.lambda$sendGroup$6((String) obj2);
}
}).collect(Collectors.toList());
if (selectNode.getPageName().equals("我的页面获取我的昵称")) {
if (this.myWxName.isEmpty() && !list2.isEmpty()) {
this.myWxName = (String) list2.get(0);
}
this.groupData.setWx_name(this.myWxName);
if (this.isVipOrFree || this.groupData.getGroup_list().size() <= Constant.sendMessageNum) {
return;
}
GroupSendData groupSendData = this.groupData;
groupSendData.setGroup_list(groupSendData.getGroup_list().subList(0, Constant.sendMessageNum));
return;
}
if (selectNode.getPageName().equals("视频群发到群-获取输入群聊")) {
if (list2.isEmpty()) {
return;
}
this.partGroupAgainList.removeIf(new Predicate() {
@Override
public final boolean test(Object obj2) {
boolean equals;
equals = ((GroupListData) obj2).getSend_group().equals(list2.get(0));
return equals;
}
});
setPartGroupHis(this.partGroupAgainList);
return;
}
if (!selectNode.getPageName().equals("视频群发到通讯录群-获取输入群聊") || list2.isEmpty()) {
return;
}
this.savaGroupAgainList.removeIf(new Predicate() {
@Override
public final boolean test(Object obj2) {
boolean equals;
equals = ((GroupListData) obj2).getSend_group().equals(list2.get(0));
return equals;
}
});
setSavaGroupHis(this.partGroupAgainList);
}
static boolean lambda$sendGroup$4(NodeExecutor.NodeParam nodeParam) {
return nodeParam.text != null;
}
static boolean lambda$sendGroup$6(String str) {
return ("微信团队".equals(str) || "文件传输助手".equals(str) || "未设置标签的朋友".equals(str)) ? false : true;
}
private void setAgainDialog() {
final BaseDialog baseDialog = new BaseDialog(this, 1);
baseDialog.setTitleText("温馨提示");
if (this.isSelectObject == 200) {
baseDialog.setContentText("检测到您上次群发[全部群聊]未完成,是否继续开始?");
} else if (this.isSelectObject == 201) {
baseDialog.setContentText("检测到您上次群发[加入的所有微信群聊]未完成,是否继续开始?");
} else if (this.isSelectObject == 202) {
baseDialog.setContentText("检测到您上次群发[保存到通讯录的群聊]未完成,是否继续开始?");
} else if (this.isSelectObject == 101) {
baseDialog.setContentText("检测到您上次群发[发送给部分好友]未完成,是否继续开始?");
}
baseDialog.setRightButton("继续开始", -1, new View.OnClickListener() {
@Override
public final void onClick(View view) {
VideoSendActivity.this.lambda$setAgainDialog$10(baseDialog, view);
}
});
baseDialog.setLeftButton("重新开始", -1, new View.OnClickListener() {
@Override
public final void onClick(View view) {
VideoSendActivity.this.lambda$setAgainDialog$11(baseDialog, view);
}
});
baseDialog.show();
}
public void lambda$setAgainDialog$10(BaseDialog baseDialog, View view) {
this.isAgainSend = true;
start();
baseDialog.dismiss();
}
public void lambda$setAgainDialog$11(BaseDialog baseDialog, View view) {
this.isAgainSend = false;
start();
baseDialog.dismiss();
}
private void start() {
if (this.isSelectObject == 101) {
sendSelectTagFriend();
return;
}
if (this.isSelectObject == 200 || this.isSelectObject == 201) {
sendGroup();
} else if (this.isSelectObject == 202) {
sendGroup();
}
}
private void setPartGroupHis(List<GroupListData> list) {
DataSaveUtils.setPartGroupHistoryWithVideoListData(this, JSON.toJSONString(list));
}
private List<GroupListData> getPartGroupHis() {
ArrayList arrayList = new ArrayList();
List<GroupListData> partGroupHistoryWithVideoListData = DataSaveUtils.getPartGroupHistoryWithVideoListData(this);
return (partGroupHistoryWithVideoListData == null || partGroupHistoryWithVideoListData.isEmpty()) ? arrayList : DataSaveUtils.getPartGroupHistoryWithVideoListData(this);
}
private void setSavaGroupHis(List<GroupListData> list) {
DataSaveUtils.setSavaGroupHistoryWithVideoListData(this, JSON.toJSONString(list));
}
private List<GroupListData> getSavaGroupHis() {
ArrayList arrayList = new ArrayList();
List<GroupListData> savaGroupHistoryWithVideoListData = DataSaveUtils.getSavaGroupHistoryWithVideoListData(this);
return (savaGroupHistoryWithVideoListData == null || savaGroupHistoryWithVideoListData.isEmpty()) ? arrayList : DataSaveUtils.getSavaGroupHistoryWithVideoListData(this);
}
public void setTagSendHis(List<SendTagListData.FriendTagList> list) {
DataSaveUtils.setSendTagHistoryWithVideoListData(this, JSON.toJSONString(list));
}
private List<SendTagListData.FriendTagList> getTagSendHis() {
ArrayList arrayList = new ArrayList();
List<SendTagListData.FriendTagList> sendTagHistoryWithVideoListData = DataSaveUtils.getSendTagHistoryWithVideoListData(this);
return (sendTagHistoryWithVideoListData == null || sendTagHistoryWithVideoListData.isEmpty()) ? arrayList : DataSaveUtils.getSendTagHistoryWithVideoListData(this);
}
public boolean isSendVideo() {
return !this.videoPath.isEmpty();
}
public void onStart(NodeExecutor nodeExecutor) {
this.isAgainSend = false;
}
public void onFinish(NodeExecutor nodeExecutor, boolean z) {
addFuncLimitCount(this.funcId);
if (this.isSelectObject == 100 || this.isSelectObject == 102) {
SharedPreferencesUtil.putInt(this, "savaVideoSendAllLocation", this.allStart + this.allSendNum);
this.allStart = 0;
this.allSendNum = 0;
}
if (!this.isVipOrFree) {
this.mExecutorWindow.setMessageShow("群发任务已成功完成,你的免费体验已结束,继续使用请返回应用,开通会员!");
} else {
this.mExecutorWindow.setMessageShow("群发完成!");
}
}
protected void onResume() {
super.onResume();
ExecutorWindow executorWindow = this.mExecutorWindow;
if (executorWindow != null) {
executorWindow.hideFloatWindow();
this.mExecutorWindow.stop();
}
}
@Override
protected void onDestroy() {
super.onDestroy();
ExecutorWindow executorWindow = this.mExecutorWindow;
if (executorWindow != null) {
executorWindow.hideFloatWindow();
this.mExecutorWindow.stop();
}
}
}