Когда я запускаю свое приложение на своем телефоне (на реальном устройстве), оно показывает эту ошибку, в то время как в моем эмуляторе я не получаю такую ошибку. Это не влияет на функциональность приложения, но в logcat я получаю слишком много ошибок
E/SurfaceTexture: android.graphics.SurfaceTexture@1a7309e setDefaultBufferSize width=1080 height=2191
java.lang.Exception
at android.graphics.SurfaceTexture.setDefaultBufferSize(SurfaceTexture.java:234)
at android.view.TextureView.getTextureLayer(TextureView.java:401)
at android.view.TextureView.draw(TextureView.java:339)
at android.view.View.updateDisplayListIfDirty(View.java:19125)
at android.view.View.draw(View.java:19978)
at android.view.ViewGroup.drawChild(ViewGroup.java:4339)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4118)
at android.view.View.updateDisplayListIfDirty(View.java:19116)
at android.view.View.draw(View.java:19978)
at android.view.ViewGroup.drawChild(ViewGroup.java:4339)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4118)
at android.view.View.updateDisplayListIfDirty(View.java:19116)
at android.view.View.draw(View.java:19978)
at android.view.ViewGroup.drawChild(ViewGroup.java:4339)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4118)
at android.view.View.updateDisplayListIfDirty(View.java:19116)
at android.view.View.draw(View.java:19978)
at android.view.ViewGroup.drawChild(ViewGroup.java:4339)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4118)
at android.view.View.updateDisplayListIfDirty(View.java:19116)
at android.view.View.draw(View.java:19978)
at android.view.ViewGroup.drawChild(ViewGroup.java:4339)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4118)
at android.view.View.draw(View.java:20253)
at com.android.internal.policy.DecorView.draw(DecorView.java:930)
at android.view.View.updateDisplayListIfDirty(View.java:19125)
at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:686)
at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:692)
at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:801)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:3328)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:3125)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2494)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1469)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7209)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1050)
at android.view.Choreographer.doCallbacks(Choreographer.java:862)
at android.view.Choreographer.doFrame(Choreographer.java:797)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1036)
at android.os.Handler.handleCallback(Handler.java:874)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:198)
at android.app.ActivityThread.main(ActivityThread.java:6729)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
2020-03-14 00:18:52.226 E/SchedPolicy: set_timerslack_ns write failed: Operation not permitted