Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Voice App won't play audiobook #2442

Open
LauraK200 opened this issue Jun 10, 2024 · 0 comments
Open

Voice App won't play audiobook #2442

LauraK200 opened this issue Jun 10, 2024 · 0 comments

Comments

@LauraK200
Copy link

Overview

Voice App won't play audiobook and keeps crashing.

How to reproduce

Voice won't play and keeps stopping/crashing.
Below is a copy of the code:

type: crash
osVersion: google/shiba/shiba:14/AP1A.240505.005/2024060400:user/release-keys
package: de.ph1b.audiobook:3603034
process: de.ph1b.audiobook
processUptime: 27388 + 320 ms
installer: com.android.vending

java.lang.SecurityException: de.ph1b.audiobook from uid 1010131 not allowed to perform TAKE_AUDIO_FOCUS
	at android.os.Parcel.createExceptionOrNull(Parcel.java:3191)
	at android.os.Parcel.createException(Parcel.java:3175)
	at android.os.Parcel.readException(Parcel.java:3151)
	at android.os.Parcel.readException(Parcel.java:3093)
	at android.media.IAudioService$Stub$Proxy.requestAudioFocus(IAudioService.java:5786)
	at android.media.AudioManager.requestAudioFocus(AudioManager.java:4905)
	at android.media.AudioManager.requestAudioFocus(AudioManager.java:4535)
	at W1.e.e(Unknown Source:93)
	at W1.J.p(Unknown Source:9)
	at P1.h.p(Unknown Source:4)
	at E8.o.p(Unknown Source:132)
	at E8.o.f(Unknown Source:1)
	at P1.h.f(Unknown Source:9)
	at H2.Z1.f(Unknown Source:3)
	at S1.y.w(Unknown Source:42)
	at H2.f1.i(Unknown Source:101)
	at H2.k1.h(Unknown Source:32)
	at W1.o.d(Unknown Source:6)
	at W1.o.g(Unknown Source:22)
	at Y1.E.run(Unknown Source:363)
	at H2.X0.run(Unknown Source:12)
	at S1.y.D(Unknown Source:25)
	at H2.g.b(Unknown Source:70)
	at H2.g.c(Unknown Source:31)
	at i.K.run(Unknown Source:358)
	at S1.y.D(Unknown Source:25)
	at H2.P1.N0(Unknown Source:45)
	at com.google.android.gms.internal.measurement.R1.G(Unknown Source:11)
	at S1.h.handleMessage(Unknown Source:35)
	at android.os.Handler.dispatchMessage(Handler.java:103)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8532)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
	at com.android.internal.os.ExecInit.main(ExecInit.java:50)
	at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
	at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:359)
Caused by: android.os.RemoteException: Remote stack trace:
	at android.app.AppOpsManager.noteOp(AppOpsManager.java:8559)
	at com.android.server.audio.MediaFocusControl.requestAudioFocus(MediaFocusControl.java:1044)
	at com.android.server.audio.AudioService.requestAudioFocus(AudioService.java:10137)
	at android.media.IAudioService$Stub.onTransact(IAudioService.java:2755)
	at android.os.Binder.execTransactInternal(Binder.java:1525)

Version

8.2.3

Android Version

34

Device Model

Pixel 8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant