I run some test in Firebase Test Lab with Pixel2 API28. It says:
Your app uses 3 non-SDK interfaces, which are incompatible with Android P+. Take a look at the logs to see detailed stack traces. Sample of used non-SDK interfaces:
Landroid/media/AudioSystem;->getPrimaryOutputFrameCount()I
Landroid/media/AudioSystem;->getPrimaryOutputSamplingRate()I
Ljava/lang/invoke/MethodHandles$Lookup;->(Ljava/lang/Class;I)V
Logs has bunch of messages like the following and I have no Idea what it all means;(
09-22 07:02:23.147: D/StrictMode(13069): StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/media/AudioSystem;->getPrimaryOutputFrameCount()I
09-22 07:02:23.147: D/StrictMode(13069): at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
09-22 07:02:23.147: D/StrictMode(13069): at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
09-22 07:02:23.147: D/StrictMode(13069): at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
09-22 07:02:23.147: D/StrictMode(13069): at com.unity3d.player.UnityPlayer.c(Unknown Source:0)
09-22 07:02:23.147: D/StrictMode(13069): at com.unity3d.player.UnityPlayer$e$2.queueIdle(Unknown Source:72)
09-22 07:02:23.147: D/StrictMode(13069): at android.os.MessageQueue.next(MessageQueue.java:395)
09-22 07:02:23.147: D/StrictMode(13069): at android.os.Looper.loop(Looper.java:160)
09-22 07:02:23.147: D/StrictMode(13069): at com.unity3d.player.UnityPlayer$e.run(Unknown Source:32)
I’m getting this now too. I suspect that this is in Unity’s court to update because the things it is complaining about aren’t things we can control as far as I know.