调整客服页面返回键交给h5处理(含系统按键/手势)
统一客服页面为同一个WebView 调整短剧与社区使用原生分开加载 调整送礼-包裹接口为新接口 调整粉丝团礼物送礼为新接口 修复战令-兑换-列表页面在名字过长晴空下高度不统一
This commit is contained in:
parent
1759757176
commit
df0d9795ed
@ -1162,9 +1162,6 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene
|
|||||||
|
|
||||||
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
|
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
|
||||||
private void processResultAndroid5(int resultCode, Intent intent) {
|
private void processResultAndroid5(int resultCode, Intent intent) {
|
||||||
if (null == mMainHomeCommunityViewHolder.mValueCallback2) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (resultCode == RESULT_OK && intent != null) {
|
if (resultCode == RESULT_OK && intent != null) {
|
||||||
String dataString = intent.getDataString();
|
String dataString = intent.getDataString();
|
||||||
ClipData clipData = intent.getClipData();
|
ClipData clipData = intent.getClipData();
|
||||||
@ -1179,11 +1176,10 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene
|
|||||||
if (dataString != null) {
|
if (dataString != null) {
|
||||||
results = new Uri[]{Uri.parse(dataString)};
|
results = new Uri[]{Uri.parse(dataString)};
|
||||||
}
|
}
|
||||||
mMainHomeCommunityViewHolder.mValueCallback2.onReceiveValue(results);
|
mMainHomeCommunityViewHolder.setValueCallback2(results);
|
||||||
} else {
|
} else {
|
||||||
mMainHomeCommunityViewHolder.mValueCallback2.onReceiveValue(null);
|
mMainHomeCommunityViewHolder.setValueCallback2(null);
|
||||||
}
|
}
|
||||||
mMainHomeCommunityViewHolder.mValueCallback2 = null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void isClose(String isClose) {
|
public void isClose(String isClose) {
|
||||||
|
Loading…
Reference in New Issue
Block a user