mirror of
https://github.com/pppscn/SmsForwarder
synced 2024-11-04 06:00:11 +00:00
修复:转发通话记录开关状态保存失效
This commit is contained in:
parent
a222b8b27a
commit
e9bb3aa627
@ -216,7 +216,7 @@ public class SettingActivity extends AppCompatActivity {
|
||||
} else {
|
||||
ToastUtils.show(R.string.toast_granted_part);
|
||||
}
|
||||
SettingUtil.switchEnableSms(true);
|
||||
SettingUtil.switchEnablePhone(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -228,7 +228,7 @@ public class SettingActivity extends AppCompatActivity {
|
||||
} else {
|
||||
ToastUtils.show(R.string.toast_denied);
|
||||
}
|
||||
SettingUtil.switchEnableSms(false);
|
||||
SettingUtil.switchEnablePhone(false);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user