fandreuz / TUI-ConsoleLauncher

Linux CLI Launcher for Android
Other
1.24k stars 257 forks source link

Network display crashes app without permission on latest GrapheneOS #385

Open WIPocket opened 1 year ago

WIPocket commented 1 year ago
Crash log

``` type: crash osVersion: google/panther/panther:13/TQ2A.230505.002/2023052900:user/release-keys package: ohi.andre.consolelauncher:205 process: ohi.andre.consolelauncher processUptime: 179 + 219 ms java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.net.NetworkInfo.isConnected()' on a null object reference at ohi.andre.consolelauncher.b$c.run(Unknown Source:285) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7903) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ExecInit.main(ExecInit.java:49) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355) ```

Workaround: Grant the Network permission or set <show_network_info value="false"/> in /sdcard/t-ui/ui.xml

jewelrana2luck commented 1 year ago

love you all