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
c70a2c2e
Commit
c70a2c2e
authored
May 22, 2019
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bluetooth権限要求する際に「許可しない」タップ時のエラーメッセージをHTML側に表示するように修正
parent
3ac1bce3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVCheckContentViewActivity.java
+2
-2
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVCheckContentViewActivity.java
View file @
c70a2c2e
...
@@ -224,7 +224,7 @@ public class ABVCheckContentViewActivity extends ABVContentViewActivity {
...
@@ -224,7 +224,7 @@ public class ABVCheckContentViewActivity extends ABVContentViewActivity {
switch
(
requestCode
)
{
switch
(
requestCode
)
{
case
REQUEST_CODE_ENABLEBLUETOOTH_TEMPERATURE:
// 中心温度計Bluetooth有効化要求
case
REQUEST_CODE_ENABLEBLUETOOTH_TEMPERATURE:
// 中心温度計Bluetooth有効化要求
if
(
Activity
.
RESULT_CANCELED
==
resultCode
)
{
// 有効にされなかった
if
(
Activity
.
RESULT_CANCELED
==
resultCode
)
{
// 有効にされなかった
ABVToastUtil
.
showMakeText
(
getApplicationContext
(),
getString
(
R
.
string
.
msg_thermometer_connect_bluetooth_no_allow
),
Toast
.
LENGTH_SHORT
);
errorAfterAbookCheckAip
(
getString
(
R
.
string
.
msg_thermometer_connect_bluetooth_no_allow
)
);
return
;
return
;
}
else
{
}
else
{
setThermometerDeviceInfo
();
setThermometerDeviceInfo
();
...
@@ -232,7 +232,7 @@ public class ABVCheckContentViewActivity extends ABVContentViewActivity {
...
@@ -232,7 +232,7 @@ public class ABVCheckContentViewActivity extends ABVContentViewActivity {
break
;
break
;
case
REQUEST_CODE_ENABLEBLUETOOTH_OKUDAKE:
// 置くだけセンサーBluetooth有効化要求
case
REQUEST_CODE_ENABLEBLUETOOTH_OKUDAKE:
// 置くだけセンサーBluetooth有効化要求
if
(
Activity
.
RESULT_CANCELED
==
resultCode
)
{
// 有効にされなかった
if
(
Activity
.
RESULT_CANCELED
==
resultCode
)
{
// 有効にされなかった
ABVToastUtil
.
showMakeText
(
getApplicationContext
(),
getString
(
R
.
string
.
msg_okudake_connect_bluetooth_no_allow
),
Toast
.
LENGTH_SHORT
);
errorAfterAbookCheckAip
(
getString
(
R
.
string
.
msg_okudake_connect_bluetooth_no_allow
)
);
return
;
return
;
}
else
{
}
else
{
startOkudakeBeaconScan
();
startOkudakeBeaconScan
();
...
...
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