Commit 4e5ddf88 by Kim Jinsung

Bug #50460【api31 @Form】アプリ起動中に、受信したプッシュメッセージを表示する際にアプリが落ちる場合がある

parent 83644ee9
...@@ -29,6 +29,7 @@ import jp.agentec.abook.abv.ui.home.helper.ActivityHandlingHelper; ...@@ -29,6 +29,7 @@ import jp.agentec.abook.abv.ui.home.helper.ActivityHandlingHelper;
import android.content.DialogInterface; import android.content.DialogInterface;
import android.content.Intent; import android.content.Intent;
import android.os.Build;
import android.os.Bundle; import android.os.Bundle;
import android.view.KeyEvent; import android.view.KeyEvent;
import android.view.animation.Animation; import android.view.animation.Animation;
...@@ -62,9 +63,14 @@ public abstract class ABVUIActivity extends ABVAuthenticatedActivity { ...@@ -62,9 +63,14 @@ public abstract class ABVUIActivity extends ABVAuthenticatedActivity {
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
//Bug #50460対応(プッシュメッセージ受信後のダイアログ表示時、Android8.0のみ問題発生するので、チェックして画面固定処理しない)
if (this instanceof ShowPushMessageDailogActivity) {
if (android.os.Build.VERSION.SDK_INT != Build.VERSION_CODES.O) {
setPortraitIfNormal(); setPortraitIfNormal();
}
} else {
setPortraitIfNormal();
}
startRefresh = true; startRefresh = true;
ABVEnvironment.getInstance().enableToastMessage = true; ABVEnvironment.getInstance().enableToastMessage = true;
// dateFormat ="yyyy'" + getResources().getString(R.string.date_format_year) + "'MM'" + getResources().getString(R.string.date_format_month) + "'dd'" + getResources().getString(R.string.date_format_day) + "'HH:mm:ss"; // dateFormat ="yyyy'" + getResources().getString(R.string.date_format_year) + "'MM'" + getResources().getString(R.string.date_format_month) + "'dd'" + getResources().getString(R.string.date_format_day) + "'HH:mm:ss";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment