lwb
2021-02-24 d7c0a1a3b1b729e403a7b3c245ce4bb716d49669
SdkProject/app/src/main/java/com/secondworld/demo/MainActivity.java
@@ -73,7 +73,14 @@
        }));
        findViewById(R.id.btnA).setOnClickListener(v -> {
            unityMessage(CodeU2A.GoToReview);
            JSONObject json = new JSONObject();
            try {
                json.put("code", CodeU2A.RequestPermission);
                json.put("permission", "android.permission.RECORD_AUDIO");
            } catch (JSONException e) {
                e.printStackTrace();
            }
            UnityMsgHandler.onUnityMessage(json.toString());
        });
        findViewById(R.id.btnB).setOnClickListener(v -> {