Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
07f0f39978
@ -41,7 +41,15 @@ public class IMLoginManager extends BaseCacheManager {
|
|||||||
private final String IS_HINT2 = "is_hint2";
|
private final String IS_HINT2 = "is_hint2";
|
||||||
private final String SELECT_CLARITY = "selectClarity";
|
private final String SELECT_CLARITY = "selectClarity";
|
||||||
private final String CLARITY = "clarity";
|
private final String CLARITY = "clarity";
|
||||||
|
private final String xiaJBG = "xiaJBG";
|
||||||
|
|
||||||
|
public void setXiaJBG(boolean xjbg) {
|
||||||
|
put(xiaJBG, xjbg);
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean IsXiaJBG() {
|
||||||
|
return getBoolean(xiaJBG, false);
|
||||||
|
}
|
||||||
|
|
||||||
public void setClarity(String clarity) {
|
public void setClarity(String clarity) {
|
||||||
put(CLARITY, clarity);
|
put(CLARITY, clarity);
|
||||||
|
@ -55,8 +55,16 @@ public class LiveAnchorMessageCustomPopup extends BottomPopupView {
|
|||||||
@Override
|
@Override
|
||||||
public void onSuccess(List<ListInfoMessageModel> data) {
|
public void onSuccess(List<ListInfoMessageModel> data) {
|
||||||
size = data.size();
|
size = data.size();
|
||||||
|
|
||||||
|
if (page == 1 && size == 0) {
|
||||||
|
liveMessage.setVisibility(GONE);
|
||||||
|
findViewById(R.id.img_no_new).setVisibility(VISIBLE);
|
||||||
|
} else {
|
||||||
|
findViewById(R.id.img_no_new).setVisibility(GONE);
|
||||||
|
liveMessage.setVisibility(VISIBLE);
|
||||||
adapter.addData(data);
|
adapter.addData(data);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(String error) {
|
public void onError(String error) {
|
||||||
|
@ -17,5 +17,14 @@
|
|||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/live_message"
|
android:id="@+id/live_message"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent" />
|
android:layout_height="match_parent"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/img_no_new"
|
||||||
|
android:layout_width="200dp"
|
||||||
|
android:layout_height="200dp"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:layout_marginTop="50dp"
|
||||||
|
android:src="@mipmap/img_no_new" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
@ -1019,4 +1019,5 @@ Limited ride And limited avatar frame</string>
|
|||||||
<string name="live_data_fan_group">New fan group</string>
|
<string name="live_data_fan_group">New fan group</string>
|
||||||
<string name="live_data_fan_group_rate">Fan group conversion rate</string>
|
<string name="live_data_fan_group_rate">Fan group conversion rate</string>
|
||||||
<string name="live_data_loading">loading…</string>
|
<string name="live_data_loading">loading…</string>
|
||||||
|
<string name="yoursystemisolder">Gift and seat effects have been turned off and can be turned on manually in "Settings".</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -1040,4 +1040,5 @@
|
|||||||
<string name="live_data_fan_group">新增粉絲團</string>
|
<string name="live_data_fan_group">新增粉絲團</string>
|
||||||
<string name="live_data_fan_group_rate">粉絲團轉化率</string>
|
<string name="live_data_fan_group_rate">粉絲團轉化率</string>
|
||||||
<string name="live_data_loading">加载中…</string>
|
<string name="live_data_loading">加载中…</string>
|
||||||
|
<string name="yoursystemisolder">由於您的系統較老,我們自動為您屏蔽了禮物及座駕特效,可在「設置中心」手動打開。</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -9,9 +9,9 @@ ext {
|
|||||||
]
|
]
|
||||||
manifestPlaceholders = [
|
manifestPlaceholders = [
|
||||||
//正式
|
//正式
|
||||||
// serverHost : "https://napi.yaoulive.com",
|
serverHost : "https://napi.yaoulive.com",
|
||||||
//测试
|
//测试
|
||||||
serverHost : "https://ceshi.yaoulive.com",
|
// serverHost : "https://ceshi.yaoulive.com",
|
||||||
|
|
||||||
//腾讯地图
|
//腾讯地图
|
||||||
txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB",
|
txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB",
|
||||||
|
@ -5,6 +5,7 @@ import android.app.Dialog;
|
|||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
import android.media.AudioManager;
|
import android.media.AudioManager;
|
||||||
|
import android.os.Build;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.os.CountDownTimer;
|
import android.os.CountDownTimer;
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
@ -183,6 +184,10 @@ public class LiveAudienceActivity extends LiveActivity {
|
|||||||
mStream = mLiveBean.getStream();
|
mStream = mLiveBean.getStream();
|
||||||
initData();
|
initData();
|
||||||
MicStatusManager.getInstance().addOnMicListener(onMicStatusListener);
|
MicStatusManager.getInstance().addOnMicListener(onMicStatusListener);
|
||||||
|
if (!IMLoginManager.get(mContext).IsXiaJBG() && (Build.VERSION.SDK_INT < Build.VERSION_CODES.O)) {
|
||||||
|
ToastUtil.show(R.string.yoursystemisolder);
|
||||||
|
IMLoginManager.get(mContext).setXiaJBG(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private final MicStatusManager.OnMicStatusListener onMicStatusListener = new MicStatusManager.OnMicStatusListener() {
|
private final MicStatusManager.OnMicStatusListener onMicStatusListener = new MicStatusManager.OnMicStatusListener() {
|
||||||
|
Loading…
Reference in New Issue
Block a user