|
@@ -74,7 +74,7 @@ class RejectStrangerActivity : BaseNoActionBarActivity() {
|
|
|
|
|
|
if (isChecked) {
|
|
|
|
|
|
- if (DataManager.instance.currentChildInfo?.device?.model.equals("W303B", ignoreCase = true)) {
|
|
|
+ if (DataManager.instance.currentChildInfo?.device?.model.equals("W303A_HK", ignoreCase = true)) {
|
|
|
mLytAutoAnswer?.isVisible = true
|
|
|
} else {
|
|
|
mLytAutoAnswer?.isVisible = false
|
|
@@ -85,7 +85,6 @@ class RejectStrangerActivity : BaseNoActionBarActivity() {
|
|
|
setWhiteListStatus(1, 0)
|
|
|
}
|
|
|
else {
|
|
|
- mTbtn_auto_answer?.isChecked = false
|
|
|
mLytAutoAnswer?.isVisible = false
|
|
|
setWhiteListStatus(0, 0)
|
|
|
}
|
|
@@ -177,7 +176,7 @@ class RejectStrangerActivity : BaseNoActionBarActivity() {
|
|
|
|
|
|
mTbtn?.isChecked = status == 1
|
|
|
mTbtn_auto_answer?.isChecked = autoAnswer == 1
|
|
|
- if (DataManager.instance.currentChildInfo?.device?.model.equals("W303B", ignoreCase = true)) {
|
|
|
+ if (DataManager.instance.currentChildInfo?.device?.model.equals("W303A_HK", ignoreCase = true)) {
|
|
|
mLytAutoAnswer?.isVisible = mTbtn!!.isChecked
|
|
|
} else {
|
|
|
mLytAutoAnswer?.isVisible = false
|