mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Merge pull request #7384 from zackhow/analytics-fix
Android: fix crash if user is offline
This commit is contained in:
@ -93,8 +93,7 @@ public class Analytics
|
|||||||
public static void sendReport(String endpoint, byte[] data)
|
public static void sendReport(String endpoint, byte[] data)
|
||||||
{
|
{
|
||||||
StringRequest request = new StringRequest(Request.Method.POST, endpoint,
|
StringRequest request = new StringRequest(Request.Method.POST, endpoint,
|
||||||
null, error -> Log.debug("Send Report Failure code: "
|
null, error -> Log.debug("Failed to send report"))
|
||||||
+ error.networkResponse.statusCode))
|
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public byte[] getBody()
|
public byte[] getBody()
|
||||||
|
Reference in New Issue
Block a user