Currently translated at 100.0% (473 of 473 strings)
Translated using Weblate: Lithuanian (lt) by Gediminas Murauskas <muziejusinfo@gmail.com>
Currently translated at 96.6% (457 of 473 strings)
Translated using Weblate: Lithuanian (lt) by Gediminas Murauskas <muziejusinfo@gmail.com>
Currently translated at 93.8% (444 of 473 strings)
Translated using Weblate: Lithuanian (lt) by Gediminas Murauskas <muziejusinfo@gmail.com>
Currently translated at 84.1% (398 of 473 strings)
Co-authored-by: Gediminas Murauskas <muziejusinfo@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/lt/
Translation: F-Droid/F-Droid
Instead of trying to figure out the state and what to do to properly shut
things down, this just executes the methods and catches any exception.
STACK_TRACE=java.lang.RuntimeException: Unable to stop service org.fdroid.fdroid.nearby.SwapService@2ff80b9: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])' on a null object reference
at android.app.ActivityThread.handleStopService(ActivityThread.java:4136)
at android.app.ActivityThread.access$1900(ActivityThread.java:219)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1896)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])' on a null object reference
at cc.mvdan.accesspoint.WifiApControl.invokeQuietly(WifiApControl.java:178)
at cc.mvdan.accesspoint.WifiApControl.setWifiApEnabled(WifiApControl.java:250)
at cc.mvdan.accesspoint.WifiApControl.setEnabled(WifiApControl.java:259)
at cc.mvdan.accesspoint.WifiApControl.disable(WifiApControl.java:269)
at org.fdroid.fdroid.nearby.SwapService.onDestroy(SwapService.java:454)
at android.app.ActivityThread.handleStopService(ActivityThread.java:4116)
... 8 more
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])' on a null object reference
at cc.mvdan.accesspoint.WifiApControl.invokeQuietly(WifiApControl.java:178)
at cc.mvdan.accesspoint.WifiApControl.setWifiApEnabled(WifiApControl.java:250)
at cc.mvdan.accesspoint.WifiApControl.setEnabled(WifiApControl.java:259)
at cc.mvdan.accesspoint.WifiApControl.disable(WifiApControl.java:269)
at org.fdroid.fdroid.nearby.SwapService.onDestroy(SwapService.java:454)
at android.app.ActivityThread.handleStopService(ActivityThread.java:4116)
at android.app.ActivityThread.access$1900(ActivityThread.java:219)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1896)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
This dynamically updates whether Glide can download based on the "Over
Data/WiFi" settings. Also:
* always download the icons in swap views, it is never metered data
* always download the icon when confirming install via PrivilegedExtension
since the user has already downloaded the app and a missing icon look bad
closes#1451closes#1793!1025https://bumptech.github.io/glide/doc/configuration.html#default-request-options
This keeps track of the Bluetooth and Bonjour status even when no related
widgets are visible. That provides a way for the View to query for the
current status when it is being shown.
If something is using port 8888, then this should choose a random port until
it finds a free one. This fixs that. Before, FDroidApp.initWifiSettings()
was called in WifiInfoThread which reset the random port as set in
LocalHTTPDManager.
There are lots of async events in this system, and the user can also change
the views while things are working. The ViewGroup `container` can have all
its widgets removed and replaced by a new view at any point. Therefore,
any widget config that is based on fetching it from `container` must check
that the result is not null before trying to config it.