Commit 5310181d by Lee Jaebin

targetSdkVersion 28 対応によりプッシュメッセージ表示修正

parent 995d811f
...@@ -194,9 +194,7 @@ ...@@ -194,9 +194,7 @@
android:configChanges="keyboardHidden" android:configChanges="keyboardHidden"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" /> android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />
<activity android:name="jp.agentec.abook.abv.ui.common.activity.ShowPushMessageDailogActivity" <activity android:name="jp.agentec.abook.abv.ui.common.activity.ShowPushMessageDailogActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar" android:theme="@android:style/Theme.Translucent.NoTitleBar">
android:configChanges="orientation|screenSize">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
</intent-filter> </intent-filter>
......
...@@ -28,6 +28,7 @@ import jp.agentec.abook.abv.ui.home.activity.ABookSettingActivity; ...@@ -28,6 +28,7 @@ import jp.agentec.abook.abv.ui.home.activity.ABookSettingActivity;
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;
...@@ -60,7 +61,10 @@ public abstract class ABVUIActivity extends ABVAuthenticatedActivity { ...@@ -60,7 +61,10 @@ public abstract class ABVUIActivity extends ABVAuthenticatedActivity {
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
// OS 8.0で起きるバグ(ダイアログActivity表示後(windowIsTranslucent: true)、画面を固定するとCrashされる問題対策)
if (android.os.Build.VERSION.SDK_INT != Build.VERSION_CODES.O) {
setPortraitIfNormal(); setPortraitIfNormal();
}
startRefresh = true; startRefresh = true;
ABVEnvironment.getInstance().enableToastMessage = true; ABVEnvironment.getInstance().enableToastMessage = true;
......
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