Setting Restoration
You don't need to worry about this subject unless you have special requirements
(in which case, read on!). In most cases, Tasker will transparently 'do the right thing'.
Single Profile
Tasker treats settings slightly different to other actions.
When a setting is applied by the Enter Task, its value is restored
when the profile becomes inactive. For example, if the ringer volume is at 7 and is set to 0 in the Enter Task,
when the profile becomes inactive it is automatically set back to 7.
In other words, settings are only valid for the lifetime of their profile.
Multiple Profiles
When multiple profiles that affect a setting are active simultaneously:
- the setting has the value from the most recently activated profile.
- when all profiles are inactive, the setting has the value from before
any profile was active
Special Cases
- if a setting is changed by the Exit Task
the profile will never save the setting's initial value.
- settings changed in a profile with an Event context remain changed after the
event. The reasoning is that there is no point in changing the setting for the
half-second that the event lasts.
Notes
- settings are not actively maintained. If something else changes the setting
once the Enter task has run, it's not the case that this is detected and the
Enter task value automatically reapplied.
Complicated, huh ?