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
7f1cc633
Commit
7f1cc633
authored
Oct 29, 2024
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #61594【@Form Android14】報告一覧を開こうとするとアプリが強制終了する
parent
856677c5
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
0 deletions
+19
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVCheckContentViewActivity.java
+4
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVNoAuthenticatedActivity.java
+5
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ABookSettingFragment.java
+5
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/SppBluetoothPairingSettingActivity.java
+5
-0
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVCheckContentViewActivity.java
View file @
7f1cc633
...
@@ -200,7 +200,11 @@ public class ABVCheckContentViewActivity extends ABVContentViewActivity {
...
@@ -200,7 +200,11 @@ public class ABVCheckContentViewActivity extends ABVContentViewActivity {
filter
.
addAction
(
Define
.
filterBeaconScanState
);
filter
.
addAction
(
Define
.
filterBeaconScanState
);
//Beacon受信開始
//Beacon受信開始
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
UPSIDE_DOWN_CAKE
)
{
registerReceiver
(
mReceiver
,
filter
,
RECEIVER_NOT_EXPORTED
);
}
else
{
registerReceiver
(
mReceiver
,
filter
);
registerReceiver
(
mReceiver
,
filter
);
}
/** 置くだけセンサーデバイス関連 終了 **/
/** 置くだけセンサーデバイス関連 終了 **/
/** 中心温度計デバイス関連 開始 **/
/** 中心温度計デバイス関連 開始 **/
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVNoAuthenticatedActivity.java
View file @
7f1cc633
...
@@ -12,6 +12,7 @@ import android.content.Intent;
...
@@ -12,6 +12,7 @@ import android.content.Intent;
import
android.content.IntentFilter
;
import
android.content.IntentFilter
;
import
android.content.SharedPreferences
;
import
android.content.SharedPreferences
;
import
android.net.Uri
;
import
android.net.Uri
;
import
android.os.Build
;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.os.Environment
;
import
android.os.Environment
;
import
android.view.View
;
import
android.view.View
;
...
@@ -281,7 +282,11 @@ public abstract class ABVNoAuthenticatedActivity extends ABVActivity {
...
@@ -281,7 +282,11 @@ public abstract class ABVNoAuthenticatedActivity extends ABVActivity {
request
.
setDestinationUri
(
Uri
.
fromFile
(
file
));
request
.
setDestinationUri
(
Uri
.
fromFile
(
file
));
downloadManager
.
enqueue
(
request
);
downloadManager
.
enqueue
(
request
);
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
UPSIDE_DOWN_CAKE
)
{
registerReceiver
(
new
OnAppDownloadReceiver
(),
new
IntentFilter
(
DownloadManager
.
ACTION_DOWNLOAD_COMPLETE
),
RECEIVER_NOT_EXPORTED
);
}
else
{
registerReceiver
(
new
OnAppDownloadReceiver
(),
new
IntentFilter
(
DownloadManager
.
ACTION_DOWNLOAD_COMPLETE
));
registerReceiver
(
new
OnAppDownloadReceiver
(),
new
IntentFilter
(
DownloadManager
.
ACTION_DOWNLOAD_COMPLETE
));
}
// アプリを閉じる
// アプリを閉じる
saveLeaveAppTime
();
saveLeaveAppTime
();
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ABookSettingFragment.java
View file @
7f1cc633
...
@@ -11,6 +11,7 @@ import android.content.SharedPreferences;
...
@@ -11,6 +11,7 @@ import android.content.SharedPreferences;
import
android.content.res.Configuration
;
import
android.content.res.Configuration
;
import
android.content.res.Resources
;
import
android.content.res.Resources
;
import
android.net.Uri
;
import
android.net.Uri
;
import
android.os.Build
;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.os.Environment
;
import
android.os.Environment
;
import
android.os.Handler
;
import
android.os.Handler
;
...
@@ -391,7 +392,11 @@ public class ABookSettingFragment extends PreferenceFragment {
...
@@ -391,7 +392,11 @@ public class ABookSettingFragment extends PreferenceFragment {
downloadManager
.
enqueue
(
request
);
downloadManager
.
enqueue
(
request
);
}
}
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
UPSIDE_DOWN_CAKE
)
{
getActivity
().
registerReceiver
(
new
OnAppDownloadReceiver
(),
new
IntentFilter
(
DownloadManager
.
ACTION_DOWNLOAD_COMPLETE
),
getActivity
().
RECEIVER_NOT_EXPORTED
);
}
else
{
getActivity
().
registerReceiver
(
new
OnAppDownloadReceiver
(),
new
IntentFilter
(
DownloadManager
.
ACTION_DOWNLOAD_COMPLETE
));
getActivity
().
registerReceiver
(
new
OnAppDownloadReceiver
(),
new
IntentFilter
(
DownloadManager
.
ACTION_DOWNLOAD_COMPLETE
));
}
// アプリを閉じる
// アプリを閉じる
saveLeaveAppTime
();
saveLeaveAppTime
();
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/SppBluetoothPairingSettingActivity.java
View file @
7f1cc633
...
@@ -9,6 +9,7 @@ import android.content.Context;
...
@@ -9,6 +9,7 @@ import android.content.Context;
import
android.content.Intent
;
import
android.content.Intent
;
import
android.content.IntentFilter
;
import
android.content.IntentFilter
;
import
android.location.LocationManager
;
import
android.location.LocationManager
;
import
android.os.Build
;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.os.Handler
;
import
android.os.Handler
;
import
android.provider.Settings
;
import
android.provider.Settings
;
...
@@ -222,7 +223,11 @@ public class SppBluetoothPairingSettingActivity extends ABVUIActivity {
...
@@ -222,7 +223,11 @@ public class SppBluetoothPairingSettingActivity extends ABVUIActivity {
}
}
};
};
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
UPSIDE_DOWN_CAKE
)
{
registerReceiver
(
mBluetoothSearchReceiver
,
filter
,
RECEIVER_NOT_EXPORTED
);
}
else
{
registerReceiver
(
mBluetoothSearchReceiver
,
filter
);
registerReceiver
(
mBluetoothSearchReceiver
,
filter
);
}
// bluetoothAdapterから発見開始行う(結果はブロードキャストで取得 mBluetoothSearchReceiver)
// bluetoothAdapterから発見開始行う(結果はブロードキャストで取得 mBluetoothSearchReceiver)
bleManagerUtil
.
mBluetoothAdapter
.
startDiscovery
();
bleManagerUtil
.
mBluetoothAdapter
.
startDiscovery
();
...
...
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