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;
...@@ -59,8 +60,11 @@ public abstract class ABVUIActivity extends ABVAuthenticatedActivity { ...@@ -59,8 +60,11 @@ public abstract class ABVUIActivity extends ABVAuthenticatedActivity {
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
setPortraitIfNormal(); // OS 8.0で起きるバグ(ダイアログActivity表示後(windowIsTranslucent: true)、画面を固定するとCrashされる問題対策)
if (android.os.Build.VERSION.SDK_INT != Build.VERSION_CODES.O) {
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