1、修改包的图片
2、修改房间的所有进出方式
This commit is contained in:
@@ -25,9 +25,14 @@ public class LaunchPageActivity extends BaseAppCompatActivity<ActivityLaunchPage
|
||||
public void onCreate(@Nullable Bundle savedInstanceState, @Nullable PersistableBundle persistentState) {
|
||||
super.onCreate(savedInstanceState, persistentState);
|
||||
if (!isTaskRoot()) {
|
||||
// if (shouldRestoreRoom()){
|
||||
// ARouter.getInstance().build(ARouteConstants.ROOM_DETAILS).withString("form", "首页").withString("roomId", CommonAppContext.getInstance().playId).navigation();
|
||||
// }
|
||||
finish();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
private boolean shouldRestoreRoom() {
|
||||
// 检查是否应该恢复房间:
|
||||
@@ -35,8 +40,7 @@ public class LaunchPageActivity extends BaseAppCompatActivity<ActivityLaunchPage
|
||||
// 2. 应用应该显示房间
|
||||
// 3. 应用是从后台恢复的(通过检查 CommonAppContext 状态)
|
||||
return CommonAppContext.getInstance().isPlaying
|
||||
&& CommonAppContext.getInstance().isShow
|
||||
;
|
||||
&& CommonAppContext.getInstance().isShow;
|
||||
}
|
||||
@Override
|
||||
protected void initData() {
|
||||
|
||||
Reference in New Issue
Block a user