Ringer volume not restored when in silent mode

326 views
Skip to first unread message

Matt R

unread,
Aug 17, 2013, 11:40:17 PM8/17/13
to tas...@googlegroups.com
I don't know if this applies to the newer (4.0+) version of Tasker, but on Tasker 1.6u2m ringer (and notification) volume changes aren't restored if the phone is in silent mode. I'm still on Android version 2.3.6 (Motorola Atrix), if that matters. To test, I started with ringer volume = 12 and then turned silent mode on. Using a simple time context profile I had a task that set the ringer volume = 4. After the profile activates and then deactivates, I turn off silent mode and the ringer volume = 4. If I add an exit task to the profile, I can force it back to 12, but I prefer the restore feature as it works better with overlapping profiles. So it appears Tasker can change the volume while silent mode is on, but it just won't restore properly.

Matt

SunKol

unread,
Aug 18, 2013, 12:15:14 AM8/18/13
to tas...@googlegroups.com
Please check RESTORE SETTING checked.

Suniil

Matt R

unread,
Aug 18, 2013, 12:58:13 AM8/18/13
to tas...@googlegroups.com
Yes, restore settings is checked. The same profile works as expected if the phone is not in silent mode.

Matt

Brandon Horwath

unread,
Aug 18, 2013, 3:58:24 AM8/18/13
to tas...@googlegroups.com
Matt,

Since I could test this on JB, I wanted to provide some details.

Here is what I made a shortcut to:

Test On / Off (321)
A1: If [ %Test ! Set ]
A2: Variable Set [ Name:%Test To:on Do Maths:Off Append:Off ]
A3: Else If [ %Test ~ on ]
A4: Variable Set [ Name:%Test To:off Do Maths:Off Append:Off ]
A5: Else If [ %Test ~ off ]
A6: Variable Set [ Name:%Test To:on Do Maths:Off Append:Off ]

This activated two profiles:

Profile: Test Silent (322)
Priority: 8 CoolDown: 0
State: Variable Value [ Name:%Test Op:Matches Value:on ]
Enter: Profile Silent (91)
A1: Vibrate [ Time:200 ] If [ %SILENT ~ vibrate ]
A2: Silent Mode [ Mode:On ] If [ %SILENT !~ on ]
A3: Stop [ With Error:Off Task:Profile Silent ]

and

Profile: Test Volume (323)
Priority: 7 CoolDown: 0
State: Variable Value [ Name:%Test Op:Matches Value:on ]
Enter: Volume Test (325)
A1: Wait [ MS:0 Seconds:3 Minutes:0 Hours:0 Days:0 ]
A2: Ringer Volume [ Level:2 Display:Off Sound:Off ]

(Disabled all other profiles)

With these I can confirm for my device:

1) Setting ringer volume while on silent deactivates the silent profile!

2) If silent profile is set before changing volume, silent deactivates. When volume profile deactivates, silent mode engages again.

3) Changes to volume levels do restore in the sense that rules apply to observations detailed in #2.

Considering these completely different results, I can only say that perhaps this action within tasker varies by device, more so than perhaps by version.

As a note, I did not know tasker will disengage silent mode profiles when changing volume levels for the ringer on my device. I will have to remember that!

Matt R

unread,
Aug 18, 2013, 12:18:53 PM8/18/13
to tas...@googlegroups.com
Brandon, thanks for testing this. However, I don't think the two profiles you posted would test exactly what I'm talking about because they would deactivate simultaneously. What about a shortcut task and profile like this:

Silent Test Shortcut
A1: Flash [ Text:Ringer = %VOLR Long:Off ]
A2: Silent Mode [ Mode:Vibrate ]
A3: Wait [ MS:0 Seconds:3 Minutes:0 Hours:0 Days:0 ]
A4: Variable Set [ Name:%Test To:1 Do Maths:Off Append:Off ]
A5: Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ]
A6: Variable Set [ Name:%Test To:0 Do Maths:Off Append:Off ]
A7: Wait [ MS:0 Seconds:3 Minutes:0 Hours:0 Days:0 ]
A8: Silent Mode [ Mode:Off ]
A9: Flash [ Text:Ringer = %VOLR Long:Off ]

Profile: Volume Test Profile
State: Variable Value [ Name:%Test Op:Matches Value:1 ]
Enter: Anon
A1: Ringer Volume [ Level:4 Display:Off Sound:Off ]

Matt


Brandon Horwath

unread,
Aug 18, 2013, 2:24:48 PM8/18/13
to tas...@googlegroups.com
I get an exit error on the silent test shortcut.

Again, adjusting the volume ringer level for my device eliminates silent mode.

This is why I never had a chance to test deactivation, UNLESS I used multiple profiles for various actions which could be selectively deactivated.

That allowed me to determine settings do revert, but only in the sense that the default changes to the volume levels will restore a profile mode i.e. silent, vibrate, normal.

Again, this is just for my device.

Pent

unread,
Aug 19, 2013, 2:27:20 AM8/19/13
to tas...@googlegroups.com

I don't know if this applies to the newer (4.0+) version of Tasker, but on Tasker 1.6u2m ringer (and notification) volume changes aren't restored if the phone is in silent mode.

Tasker doesn't reference silent mode for the ringer volume action. Also, since Tasker doesn't apply a volume change if it thinks that the phone is already at that volume,
what the phone reports as the volume in silent mode will also affect restores. The behaviour is therefore heavily ROM dependent.

Pent
Reply all
Reply to author
Forward
0 new messages