Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
c524ba3b
Commit
c524ba3b
authored
Jul 12, 2019
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/1.1.0_34413' into 'feature/1.1.0'
targetSdkVersion 28 対応によりプッシュメッセージ表示修正 See merge request
!24
parents
aaac55c7
286824a0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletions
+20
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVUIActivity.java
+3
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/ActivityHandlingHelper.java
+17
-0
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVUIActivity.java
View file @
c524ba3b
...
...
@@ -25,6 +25,7 @@ import jp.agentec.abook.abv.ui.common.util.ABVToastUtil;
import
jp.agentec.abook.abv.ui.common.util.AlertDialogUtil
;
import
jp.agentec.abook.abv.ui.common.util.LogUtil
;
import
jp.agentec.abook.abv.ui.home.activity.ABookSettingActivity
;
import
jp.agentec.abook.abv.ui.home.helper.ActivityHandlingHelper
;
import
android.content.DialogInterface
;
import
android.content.Intent
;
...
...
@@ -62,7 +63,8 @@ public abstract class ABVUIActivity extends ABVAuthenticatedActivity {
super
.
onCreate
(
savedInstanceState
);
// OS 8.0で起きるバグ(ダイアログActivity表示後(windowIsTranslucent: true)、画面を固定するとCrashされる問題対策)
if
(
android
.
os
.
Build
.
VERSION
.
SDK_INT
!=
Build
.
VERSION_CODES
.
O
)
{
// showPushMessageActivityが存在する場合は、以下のメソッドを実行しない
if
(!
ActivityHandlingHelper
.
getInstance
().
hasShowPushMessageActivity
())
{
setPortraitIfNormal
();
}
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/ActivityHandlingHelper.java
View file @
c524ba3b
...
...
@@ -61,6 +61,7 @@ import jp.agentec.abook.abv.launcher.android.R;
import
jp.agentec.abook.abv.ui.common.activity.ABVActivity
;
import
jp.agentec.abook.abv.ui.common.activity.ABVAuthenticatedActivity
;
import
jp.agentec.abook.abv.ui.common.activity.ABVContentViewActivity
;
import
jp.agentec.abook.abv.ui.common.activity.ShowPushMessageDailogActivity
;
import
jp.agentec.abook.abv.ui.common.appinfo.AppDefType
;
import
jp.agentec.abook.abv.ui.common.appinfo.AppDefType.DefPrefKey
;
import
jp.agentec.abook.abv.ui.common.appinfo.AppDefType.UserPrefKey
;
...
...
@@ -85,6 +86,7 @@ import jp.agentec.abook.abv.ui.viewer.activity.PreviewActivity;
import
jp.agentec.abook.abv.ui.viewer.activity.VideoViewActivity
;
import
jp.agentec.abook.abv.ui.viewer.view.OperationTaskLayout
;
import
jp.agentec.adf.net.http.HttpDownloadSimpleNotification
;
import
jp.agentec.adf.util.CollectionUtil
;
import
jp.agentec.adf.util.DateTimeFormat
;
import
jp.agentec.adf.util.DateTimeUtil
;
import
jp.agentec.adf.util.FileUtil
;
...
...
@@ -801,6 +803,21 @@ public class ActivityHandlingHelper extends ABookHelper implements RemoteObserve
}
/**
* プッシュメッセージActivityが存在確認
* @return
*/
public
boolean
hasShowPushMessageActivity
()
{
if
(
CollectionUtil
.
isNotEmpty
(
currentActivityStack
))
{
for
(
ABVAuthenticatedActivity
activity
:
currentActivityStack
)
{
if
((
activity
instanceof
ShowPushMessageDailogActivity
))
{
return
true
;
}
}
}
return
false
;
}
/**
* 履歴から該当の360コンテンツを削除する
* @param contentId long
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment