I\'m trying to set the \"isPhysicalTheftEnabled\" to false when a method is executed, but this doesn\'t seem to work. Anyone have any idea?
SharedPre
You need to call ed.apply() after changing values in SharedPreferences.
ed.apply()
SharedPreferences
You can also use ed.commit() if you want to check for errors. commit() (unlike apply()) returns false if the data was not (correctly) written to the persistent storage.
ed.commit()
commit()
apply()