<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-android/ui/src/main/java/com/wireguard/android/util/Extensions.kt, branch lr/for-jason</title>
<subtitle>Android GUI for WireGuard</subtitle>
<id>https://git.zx2c4.com/wireguard-android/atom/ui/src/main/java/com/wireguard/android/util/Extensions.kt?h=lr%2Ffor-jason</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-android/atom/ui/src/main/java/com/wireguard/android/util/Extensions.kt?h=lr%2Ffor-jason'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-android/'/>
<updated>2025-05-19T15:31:02Z</updated>
<entry>
<title>global: update copyright notices</title>
<updated>2025-05-19T15:31:02Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2025-05-19T15:31:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-android/commit/?id=0295abd808ba00a024d5752980f7fccfcb6161bb'/>
<id>urn:sha1:0295abd808ba00a024d5752980f7fccfcb6161bb</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>ui: reformat all code</title>
<updated>2023-05-05T11:18:30Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2023-05-05T01:09:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-android/commit/?id=40eaa54cf025d3b4d4f75ab907602e8ecbfe05ad'/>
<id>urn:sha1:40eaa54cf025d3b4d4f75ab907602e8ecbfe05ad</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>global: bump copyright date</title>
<updated>2023-03-21T14:41:11Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2023-03-21T14:41:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-android/commit/?id=853e86e6d057e2a50317405c594296ca8aa32df3'/>
<id>urn:sha1:853e86e6d057e2a50317405c594296ca8aa32df3</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>global: bump copyright year</title>
<updated>2021-10-29T14:47:12Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2021-10-29T14:47:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-android/commit/?id=bf84e26a86ae27963312c2dd1422674f479934db'/>
<id>urn:sha1:bf84e26a86ae27963312c2dd1422674f479934db</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>ui: cleanup code after churn</title>
<updated>2020-09-23T15:56:37Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-09-23T15:21:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-android/commit/?id=05511d49007a54e47251130300b662bf411542b6'/>
<id>urn:sha1:05511d49007a54e47251130300b662bf411542b6</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>tv: abstract out tunnel importing</title>
<updated>2020-09-22T21:53:30Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-09-22T11:51:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-android/commit/?id=aaa55c0dccd14a02af7df66fecf02884d4a708b9'/>
<id>urn:sha1:aaa55c0dccd14a02af7df66fecf02884d4a708b9</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>tv: initial draft of Android TV support</title>
<updated>2020-09-22T21:53:27Z</updated>
<author>
<name>Harsh Shandilya</name>
<email>me@msfjarvis.dev</email>
</author>
<published>2020-09-22T11:11:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-android/commit/?id=0ad3781ae5956aa2dbf217edf48c5f8445a92db8'/>
<id>urn:sha1:0ad3781ae5956aa2dbf217edf48c5f8445a92db8</id>
<content type='text'>
Signed-off-by: Harsh Shandilya &lt;me@msfjarvis.dev&gt;
</content>
</entry>
<entry>
<title>ui: reformat code</title>
<updated>2020-09-18T12:55:27Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-09-18T12:55:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-android/commit/?id=3ffe7a5e68dcd6e1f3e589d904b723aa4eb24a38'/>
<id>urn:sha1:3ffe7a5e68dcd6e1f3e589d904b723aa4eb24a38</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>ui: refactor AddTunnelsSheet's selection communication</title>
<updated>2020-09-17T14:06:44Z</updated>
<author>
<name>Harsh Shandilya</name>
<email>me@msfjarvis.dev</email>
</author>
<published>2020-09-17T14:06:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-android/commit/?id=306d0648c68959929f51f578479191c255dcb75d'/>
<id>urn:sha1:306d0648c68959929f51f578479191c255dcb75d</id>
<content type='text'>
Signed-off-by: Harsh Shandilya &lt;me@msfjarvis.dev&gt;
</content>
</entry>
<entry>
<title>ui: replace GlobalScope with a hand-rolled CoroutineScope</title>
<updated>2020-09-16T16:01:06Z</updated>
<author>
<name>Harsh Shandilya</name>
<email>me@msfjarvis.dev</email>
</author>
<published>2020-09-16T10:00:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-android/commit/?id=2f088938c6c8c718d0a4ed639c18868257e354a1'/>
<id>urn:sha1:2f088938c6c8c718d0a4ed639c18868257e354a1</id>
<content type='text'>
GlobalScope has numerous problems[1] that make it unfit for
use in most applications and making it behave correctly requires
an excessive amount of verbosity that's alleviated simply by using
any other scope. Since we run multiple operations in the context
of the application's lifecycle, introduce a new scope that is created
when our application is, and cancelled upon its termination.

While at it, make the scope default to Dispatchers.IO to reduce pressure
on the UI event loop. Tasks requiring access to the UI thread appropriately
switch context making the change completely safe.

1: https://medium.com/@elizarov/the-reason-to-avoid-globalscope-835337445abc

Signed-off-by: Harsh Shandilya &lt;me@msfjarvis.dev&gt;
</content>
</entry>
</feed>
