首次安装 w2a多次问题。
This commit is contained in:
parent
17b6f85f46
commit
194bd4bef4
@ -355,15 +355,15 @@ public class AExtractionActivity extends IDDetailsRoundActivity<TManifestService
|
|||||||
public void logic() {
|
public void logic() {
|
||||||
|
|
||||||
gsAppViewModel.getW2aSelfAttributionLiveData().observe(this, gsDeepLinkResBeanIMACloseStroke -> {
|
gsAppViewModel.getW2aSelfAttributionLiveData().observe(this, gsDeepLinkResBeanIMACloseStroke -> {
|
||||||
if (gsDeepLinkResBeanIMACloseStroke != null) {
|
// if (gsDeepLinkResBeanIMACloseStroke != null) {
|
||||||
if (needSave) {
|
// if (needSave) {
|
||||||
adjustToDetail();
|
// adjustToDetail();
|
||||||
}
|
// }
|
||||||
} else {
|
// } else {
|
||||||
if (needSave) {
|
// if (needSave) {
|
||||||
adjustToDetail();
|
// adjustToDetail();
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
});
|
});
|
||||||
userViewModel.getTranslaterLiveData().observe(this, gsTranslatesBeanIMACloseStroke -> {
|
userViewModel.getTranslaterLiveData().observe(this, gsTranslatesBeanIMACloseStroke -> {
|
||||||
if (gsTranslatesBeanIMACloseStroke != null) {
|
if (gsTranslatesBeanIMACloseStroke != null) {
|
||||||
@ -447,9 +447,12 @@ public class AExtractionActivity extends IDDetailsRoundActivity<TManifestService
|
|||||||
|
|
||||||
|
|
||||||
private void jumpDetails() {
|
private void jumpDetails() {
|
||||||
|
w2aSelfAttribution(clipString);
|
||||||
|
clipString = "";
|
||||||
LRewards.startPlayerDetails(AExtractionActivity.this, shortPlayId, videoId);
|
LRewards.startPlayerDetails(AExtractionActivity.this, shortPlayId, videoId);
|
||||||
TIndicator.saveString(ITItem.Constants_DeepLinkData_URL, "");
|
TIndicator.saveString(ITItem.Constants_DeepLinkData_URL, "");
|
||||||
cleanClipData();
|
cleanClipData();
|
||||||
|
needSave = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getClipContent() {
|
private String getClipContent() {
|
||||||
@ -500,14 +503,16 @@ public class AExtractionActivity extends IDDetailsRoundActivity<TManifestService
|
|||||||
return new Pair(videoId, shortPlayId);
|
return new Pair(videoId, shortPlayId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private String clipString;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onResume() {
|
protected void onResume() {
|
||||||
super.onResume();
|
super.onResume();
|
||||||
LogUtils.d("onResume");
|
LogUtils.d("AExtractionActivity onResume");
|
||||||
getWindow().getDecorView().post(new Runnable() {
|
getWindow().getDecorView().post(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
String clipString = getClipContent();
|
clipString = getClipContent();
|
||||||
LogUtils.d("clipString: " + clipString);
|
LogUtils.d("clipString: " + clipString);
|
||||||
if (clipString.startsWith("[QJ]") && clipString.contains("zyreoapp")) {
|
if (clipString.startsWith("[QJ]") && clipString.contains("zyreoapp")) {
|
||||||
Pair extractVideoInfo = parseVideoAndShortPlayIds(clipString);
|
Pair extractVideoInfo = parseVideoAndShortPlayIds(clipString);
|
||||||
@ -517,7 +522,10 @@ public class AExtractionActivity extends IDDetailsRoundActivity<TManifestService
|
|||||||
if (shortPlayId != 0) {
|
if (shortPlayId != 0) {
|
||||||
TIndicator.saveString(ITItem.Constants_DeepLinkData_URL, "");
|
TIndicator.saveString(ITItem.Constants_DeepLinkData_URL, "");
|
||||||
needSave = true;
|
needSave = true;
|
||||||
w2aSelfAttribution(clipString);
|
// w2aSelfAttribution(clipString);
|
||||||
|
if(!isRequestNotify){
|
||||||
|
jumpDetails();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user