Open ytheekshana opened 5 years ago
Was addressed in this commit, I just pushed a few minutes back: https://github.com/nisrulz/lantern/commit/4951ecee1e8eaf2f830e342396b5f20defb3c62a
Was addressed in this commit, I just pushed a few minutes back: 4951ece
Thanks. Waiting for the next public release with AndroidX.
Got another crash on another line
Fatal Exception: java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=6937, result=-1, data=Intent { act=android.content.pm.action.REQUEST_PERMISSIONS (has extras) }} to activity {com.ytheekshana.deviceinfo/com.nabinbhandari.android.permissions.PermissionsActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void github.nisrulz.lantern.c.a()' on a null object reference at android.app.ActivityThread.deliverResults(ActivityThread.java:4616) at android.app.ActivityThread.handleSendResult(ActivityThread.java:4658) at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:49) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1959) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:214) at android.app.ActivityThread.main(ActivityThread.java:7075) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
Caused by java.lang.NullPointerException: Attempt to invoke interface method 'void github.nisrulz.lantern.c.a()' on a null object reference at github.nisrulz.lantern.Lantern.access$000(Lantern.java:62) at com.ytheekshana.deviceinfo.tests.FlashlightTestActivity$1.onGranted(FlashlightTestActivity.java:12) at com.nabinbhandari.android.permissions.PermissionsActivity.access$200(PermissionsActivity.java:7) at com.nabinbhandari.android.permissions.PermissionsActivity.onRequestPermissionsResult(PermissionsActivity.java:44) at android.app.Activity.dispatchRequestPermissionsResult(Activity.java:7954) at android.app.Activity.dispatchActivityResult(Activity.java:7776) at android.app.ActivityThread.deliverResults(ActivityThread.java:4609) at android.app.ActivityThread.handleSendResult(ActivityThread.java:4658) at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:49) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1959) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:214) at android.app.ActivityThread.main(ActivityThread.java:7075) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
This is another crash.