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
78b23091
Commit
78b23091
authored
Jun 28, 2022
by
onuma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
吹付エラーの後、10秒経過後に「息を吹きかけてください」が表示されなかったのを修正した。
parent
97554d16
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/util/AlcoholCheckerUtil.java
+0
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/util/BleManagerUtil.java
+8
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVContentViewActivity.java
+2
-5
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/util/AlcoholCheckerUtil.java
View file @
78b23091
This diff is collapsed.
Click to expand it.
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/util/BleManagerUtil.java
View file @
78b23091
...
...
@@ -420,4 +420,12 @@ public class BleManagerUtil {
mBluetoothGatt
.
readPhy
();
return
true
;
}
/**
* リスナー設定
* @param listener リスナー
*/
public
void
setListener
(
BleManagerUtilListener
listener
)
{
mListener
=
listener
;
}
}
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVContentViewActivity.java
View file @
78b23091
...
...
@@ -273,10 +273,6 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
*/
private
void
initAlcoholCheckerUtil
()
{
Logger
.
i
(
TAG
,
"initAlcoholCheckerUtil"
);
if
(
alcoholCheckerUtil
!=
null
)
{
checkerStatus
=
AlcoholCheckerUtil
.
fugo_init
;
return
;
}
alcoholCheckerUtil
=
new
AlcoholCheckerUtil
(
this
,
new
AlcoholCheckerUtilListener
()
{
...
...
@@ -341,7 +337,7 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
public
void
run
()
{
if
(
isFromError
)
{
if
(
mMeasureDialog
!=
null
)
{
mMeasureDialog
.
setMessage
(
getString
(
R
.
string
.
msg_breath_error
));
mMeasureDialog
.
setMessage
(
getString
(
R
.
string
.
wait_breathe
));
}
}
else
{
if
(
mWaitMeasureDialog
!=
null
)
{
...
...
@@ -563,6 +559,7 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
isInitBLE
=
true
;
}
}
alcoholCheckerUtil
.
bleManagerUtil
.
setListener
(
alcoholCheckerUtil
.
bleManagerUtilListener
);
if
(!
isInitAlcChecker
)
{
// アルコールチェッカー接続
connectToAlcholChecker
();
...
...
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