Everytime I open my app, it raised this error although my app is still working.
2024-06-16 14:19:26.037 21272-13271/com.chungxa.kyhoang.cotuongcoup E/defold.sound: App is missing the READ_PHONE_STATE permission. Audio will continue while phone call is active.
2024-06-16 14:19:26.068 21272-13271/com.chungxa.kyhoang.cotuongcoup E/defold.sound: An exception occurred while retrieving system services
java.lang.SecurityException: getCallState: Neither user 11250 nor current process has android.permission.READ_PHONE_STATE.
at android.os.Parcel.createExceptionOrNull(Parcel.java:2438)
at android.os.Parcel.createException(Parcel.java:2422)
at android.os.Parcel.readException(Parcel.java:2405)
at android.os.Parcel.readException(Parcel.java:2347)
at com.android.internal.telecom.ITelecomService$Stub$Proxy.getCallStateUsingPackage(ITelecomService.java:2644)
at android.telecom.TelecomManager.getCallState(TelecomManager.java:1912)
at android.telephony.TelephonyManager.getCallState(TelephonyManager.java:6456)
at com.defold.sound.SoundManager.<init>(SoundManager.java:75)
Caused by: android.os.RemoteException: Remote stack trace:
at android.app.ContextImpl.enforce(ContextImpl.java:2274)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:2302)
at android.content.ContextWrapper.enforceCallingOrSelfPermission(ContextWrapper.java:924)
at com.android.server.telecom.TelecomServiceImpl.canReadPhoneState(TelecomServiceImpl.java:2464)
at com.android.server.telecom.TelecomServiceImpl.access$400(TelecomServiceImpl.java:98)