WireGuard Archive on lore.kernel.org
 help / color / Atom feed
From: "simon@laro.se" <simon@laro.se>
To: wireguard@lists.zx2c4.com
Subject: Re: Android: Cannot toggle the quick setting tile on a locked screen
Date: Sat, 11 Jan 2020 18:07:10 +1300
Message-ID: <CAOtBoV8chDpMReY3SWai+pU+9GfD8MSd1SzeXuSmiwivNW4U-w@mail.gmail.com> (raw)
In-Reply-To: <CA+CGqoLds_96+utWZV1jr9-On=oqNC4r9BLs5s0YT+_s2QVikQ@mail.gmail.com>

[-- Attachment #1.1: Type: text/plain, Size: 1857 bytes --]

This was purposefully added in the December update for the Android
application, a user should not be able to bring tunnels up and down without
being an "authenticated". This could be added as a toggle within the app,
but it has not been done or requested as far as I am awre.

You should still be able to use the `wg-quick down` from within a Tasker
shell command.

https://git.zx2c4.com/wireguard-android/commit/?id=c370d754bc5074b6e357afdcb4baf09301d0bb8d

On Thu, 9 Jan 2020 at 21:56, Kai Haberzettl <khaberz@gmail.com> wrote:

> What Device and ROM are you using? Samsung OneUI has a specific setting as
> to whether network settings should be available on the lock screen or not.
> I don't see this in AOSP. Look for something like this in your settings, it
> might help.
>
> On Thu, Jan 9, 2020 at 7:10 AM Arpit Gupta <g.arpit@gmail.com> wrote:
>
>> Hi
>>
>> I can't say for sure when this behavior changed where I cannot toggle
>> quick setting option for WireGuard when the phone is locked.
>>
>> I know this was working in December so not sure if the December update
>> for Android changed something or if this was an explicit change in the
>> Android app.
>>
>> Wanted to see if any one else is seeing similar behavior and if there is
>> anything that can be done about it?
>>
>> I was using Tasker to automate toggling the quick setting when ever I was
>> not connected to a specific WiFi network. That automation no longer works
>> because I need to unlock the phone before that setting can be toggled.
>>
>>
>> --
>> Arpit
>> _______________________________________________
>> WireGuard mailing list
>> WireGuard@lists.zx2c4.com
>> https://lists.zx2c4.com/mailman/listinfo/wireguard
>>
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
>

[-- Attachment #1.2: Type: text/html, Size: 3144 bytes --]

<div dir="ltr">This was purposefully added in the December update for the Android application, a user should not be able to bring tunnels up and down without being an &quot;authenticated&quot;. This could be added as a toggle within the app, but it has not been done or requested as far as I am awre.<div><br><div>You should still be able to use the `wg-quick down` from within a Tasker shell command.<div><br></div><div><a href="https://git.zx2c4.com/wireguard-android/commit/?id=c370d754bc5074b6e357afdcb4baf09301d0bb8d">https://git.zx2c4.com/wireguard-android/commit/?id=c370d754bc5074b6e357afdcb4baf09301d0bb8d</a><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 9 Jan 2020 at 21:56, Kai Haberzettl &lt;<a href="mailto:khaberz@gmail.com">khaberz@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">What Device and ROM are you using? Samsung OneUI has a specific setting as to whether network settings should be available on the lock screen or not. I don&#39;t see this in AOSP. Look for something like this in your settings, it might help. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 9, 2020 at 7:10 AM Arpit Gupta &lt;<a href="mailto:g.arpit@gmail.com" target="_blank">g.arpit@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi<div dir="auto"><br></div><div dir="auto">I can&#39;t say for sure when this behavior changed where I cannot toggle quick setting option for WireGuard when the phone is locked. </div><div dir="auto"><br></div><div dir="auto">I know this was working in December so not sure if the December update for Android changed something or if this was an explicit change in the Android app. </div><div dir="auto"><br></div><div dir="auto">Wanted to see if any one else is seeing similar behavior and if there is anything that can be done about it?</div><div dir="auto"><br></div><div dir="auto">I was using Tasker to automate toggling the quick setting when ever I was not connected to a specific WiFi network. That automation no longer works because I need to unlock the phone before that setting can be toggled.</div><div dir="auto"><br><div dir="auto"><br>--<br>Arpit</div></div></div>
_______________________________________________<br>
WireGuard mailing list<br>
<a href="mailto:WireGuard@lists.zx2c4.com" target="_blank">WireGuard@lists.zx2c4.com</a><br>
<a href="https://lists.zx2c4.com/mailman/listinfo/wireguard" rel="noreferrer" target="_blank">https://lists.zx2c4.com/mailman/listinfo/wireguard</a><br>
</blockquote></div>
_______________________________________________<br>
WireGuard mailing list<br>
<a href="mailto:WireGuard@lists.zx2c4.com" target="_blank">WireGuard@lists.zx2c4.com</a><br>
<a href="https://lists.zx2c4.com/mailman/listinfo/wireguard" rel="noreferrer" target="_blank">https://lists.zx2c4.com/mailman/listinfo/wireguard</a><br>
</blockquote></div>

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

      reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-07  6:43 Arpit Gupta
2020-01-09  8:44 ` Kai Haberzettl
2020-01-11  5:07   ` simon [this message]

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOtBoV8chDpMReY3SWai+pU+9GfD8MSd1SzeXuSmiwivNW4U-w@mail.gmail.com \
    --to=simon@laro.se \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com
	public-inbox-index wireguard

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/com.zx2c4.lists.wireguard


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git