|
|
@@ -927,6 +927,7 @@ public class MainActivity extends BaseActivity implements ImStatusListener, NetW
|
|
|
Log.i("new_function_notice", new_function_notice + "");
|
|
|
|
|
|
platform = ApiUtils.getApiModel() instanceof ApiPlatform;
|
|
|
+ initPermission();
|
|
|
}
|
|
|
|
|
|
private void changeFragment(Fragment addFragment, String tag) {
|
|
|
@@ -997,7 +998,6 @@ public class MainActivity extends BaseActivity implements ImStatusListener, NetW
|
|
|
@Override
|
|
|
protected void onResume() {
|
|
|
super.onResume();
|
|
|
- initPermission();
|
|
|
LogUtil.d("onResume start:" + DateFormatUtil.long2Str(DateFormatUtil.YMD_HMS));
|
|
|
if (!AppConfig.COMPANY) return;
|
|
|
isPause = false;
|