avoid saving deviceid to pref
This commit is contained in:
@@ -163,10 +163,10 @@ class AutoDacFragment : Fragment() {
|
|||||||
val slData = stringData.split(" ")
|
val slData = stringData.split(" ")
|
||||||
if (slData.size > 1) {
|
if (slData.size > 1) {
|
||||||
val hardwareId = slData[1].trim()
|
val hardwareId = slData[1].trim()
|
||||||
with(sharedPreferences.edit()) {
|
// with(sharedPreferences.edit()) {
|
||||||
putString(Constants.DEVICE_ID, hardwareId)
|
// putString(Constants.DEVICE_ID, hardwareId)
|
||||||
apply()
|
// apply()
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
activity?.runOnUiThread {
|
activity?.runOnUiThread {
|
||||||
binding.btnSubmit.visibility = View.VISIBLE
|
binding.btnSubmit.visibility = View.VISIBLE
|
||||||
|
|||||||
Reference in New Issue
Block a user