I have a bit of a problem with Plexamp on Android Auto (on device, not connected to a car). If I open Android Auto without opening Plexamp first I get an error: “It looks like Plexamp is not working right now” (screen). Changing music app in android auto back and forth doesn’t solve the issue. The only way is to open Plexamp and then immdiately AA.
I’ve gathered some logs. This stacktrace is spammed constantly by AA, even on its home screen. I don’t know if it’s Plexamp related:
Key android.icon expected Parcelable but value was a java.lang.Integer. The default value <null> was returned.
Attempt to cast generated internal exception:
java.lang.ClassCastException: java.lang.Integer cannot be cast to android.os.Parcelable
at android.os.Bundle.getParcelable(Bundle.java:946)
at android.app.Notification.fixDuplicateExtra(Notification.java:2872)
at android.app.Notification.fixDuplicateExtras(Notification.java:2862)
at android.app.Notification.readFromParcelImpl(Notification.java:2207)
at android.app.Notification.<init>(Notification.java:2135)
at android.service.notification.StatusBarNotification.<init>(StatusBarNotification.java:104)
at android.service.notification.StatusBarNotification$1.createFromParcel(StatusBarNotification.java:194)
at android.service.notification.StatusBarNotification$1.createFromParcel(StatusBarNotification.java:191)
at bdq.a(SourceFile:7)
at czu.dispatchTransaction(SourceFile:9)
at bdp.onTransact(SourceFile:6)
at android.os.Binder.execTransact(Binder.java:752)
This is what happens when I click on the music icon in AA:
Received UMAC message with insufficent length: 48
Received UMAC message with insufficent length: 48
Received UMAC message with insufficent length: 914
Received UMAC message with insufficent length: 128
Received UMAC message with insufficent length: 128
Scan result ready event
[LOWI-Scan] lowi_close_record:Scan done in 1713385539ms, 7 APs in scan results
Filtering out 3 scan results.
[onJavaLocationChanged][194] [HC] =>> [HS]
[locationChanged][93] [HS] <<<<= [HC]
[onLocationChanged][71] [HS] =>>>> [HC]
[onLocationChanged][208] [HC] <<= [HS]
onNotificationPosted# hash: 266655873 sbn: StatusBarNotification(pkg=com.google.android.apps.maps user=UserHandle{0} id=1 tag=null key=0|com.google.android.apps.maps|1|null|10068: Notification(channel=1_foreground_1 pri=2 contentView=null vibrate=null sound=null defaults=0x0 flags=0x16a color=0xff188038 category=navigation groupKey=navigation_status_notification_group vis=PUBLIC))
Key android.icon expected Parcelable but value was a java.lang.Integer. The default value <null> was returned.
Attempt to cast generated internal exception:
java.lang.ClassCastException: java.lang.Integer cannot be cast to android.os.Parcelable
at android.os.Bundle.getParcelable(Bundle.java:946)
at android.app.Notification.fixDuplicateExtra(Notification.java:2872)
at android.app.Notification.fixDuplicateExtras(Notification.java:2862)
at android.app.Notification.readFromParcelImpl(Notification.java:2207)
at android.app.Notification.<init>(Notification.java:2135)
at android.service.notification.StatusBarNotification.<init>(StatusBarNotification.java:104)
at android.service.notification.StatusBarNotification$1.createFromParcel(StatusBarNotification.java:194)
at android.service.notification.StatusBarNotification$1.createFromParcel(StatusBarNotification.java:191)
at bdq.a(SourceFile:7)
at czu.dispatchTransaction(SourceFile:9)
at bdp.onTransact(SourceFile:6)
at android.os.Binder.execTransact(Binder.java:752)
No peeking: unimportant notification: 0|com.google.android.apps.maps|1|null|10068
No peeking: unimportant notification: 0|com.google.android.apps.maps|1|null|10068
updateMediaMetaData: hasArtwork = true, mState:0, false, mDozing:false, delay:0, true, vis:8, alpha:1.0, false, meta:false, fading:false, 0, false
Try to read cache from sharedPreferences for [carDisplayType: MAIN, uiMode: VANAGON, key: 3]
Try to read cache from sharedPreferences for [carDisplayType: MAIN, uiMode: VANAGON, key: 3]
readDefaultApp tv.plex.labs.plexamp/com.plexamp.PlayerService (Legacy=false)
For AvailableAppFinderQuery[carDisplayType=MAIN,facetType=MUSIC,androidAutoUiMode=VANAGON,isPackageNameSet=true,packageName=tv.plex.labs.plexamp,filters=[ENABLED_BY_USER, COMPATIBLE_WITH_VEHICLE]] found available apps: [ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService}]
isLensOpen: false, hasDefaultApp : true, availableApps [ComponentInfo{com.google.android.apps.books/com.google.android.apps.play.books.audio.BooksMediaBrowseService}, ComponentInfo{com.google.android.music/com.google.android.music.browse.MediaBrowserService}, ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService}, ComponentInfo{com.rhmsoft.pulsar/com.rhmsoft.play.music.MusicService}, ComponentInfo{org.telegram.messenger/org.telegram.messenger.MusicBrowserService}, ComponentInfo{com.plexapp.android/com.plexapp.plex.audioplayer.MediaBrowserAudioService}, ComponentInfo{com.spotify.music/com.spotify.music.libs.mediabrowserservice.SpotifyMediaBrowserService}, ComponentInfo{com.google.android.googlequicksearchbox/com.google.android.apps.gsa.staticplugins.mediabrowser.PodcastsMediaBrowserService}]
readDefaultApp tv.plex.labs.plexamp/com.plexamp.PlayerService (Legacy=false)
For AvailableAppFinderQuery[carDisplayType=MAIN,facetType=MUSIC,androidAutoUiMode=VANAGON,isPackageNameSet=true,packageName=tv.plex.labs.plexamp,filters=[ENABLED_BY_USER, COMPATIBLE_WITH_VEHICLE]] found available apps: [ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService}]
launch app Intent { cmp=tv.plex.labs.plexamp/com.plexamp.PlayerService }
START u0 {flg=0x34000000 cmp=com.google.android.projection.gearhead/com.google.android.gearhead.vanagon.media.VnMediaActivity (has extras)} from uid 10119 pid 9289
com_qualcomm_qtiperformance_native_perf_io_prefetch_start
activityResumeTrigger: The activity in ApplicationInfo{f14cfda com.google.android.projection.gearhead} is now in focus and seems to be in full-screen mode
activityResumeTrigger: not whiteListedcom.google.android.projection.gearhead/com.google.android.gearhead.vanagon.media.VnMediaActivity/55602944
ActivityTrigger activityPauseTrigger
increase duration : 4006 for com.google.android.projection.gearhead
activityResumeTrigger: The activity in ApplicationInfo{f14cfda com.google.android.projection.gearhead} is now in focus and seems to be in full-screen mode
activityResumeTrigger: not whiteListedcom.google.android.projection.gearhead/com.google.android.gearhead.vanagon.media.VnMediaActivity/55602944
onNotificationPosted# hash: 266655873 sbn: StatusBarNotification(pkg=com.google.android.apps.maps user=UserHandle{0} id=1 tag=null key=0|com.google.android.apps.maps|1|null|10068: Notification(channel=1_foreground_1 pri=2 contentView=null vibrate=null sound=null defaults=0x0 flags=0x16a color=0xff188038 category=navigation groupKey=navigation_status_notification_group vis=PUBLIC))
Key android.icon expected Parcelable but value was a java.lang.Integer. The default value <null> was returned.
Attempt to cast generated internal exception:
java.lang.ClassCastException: java.lang.Integer cannot be cast to android.os.Parcelable
at android.os.Bundle.getParcelable(Bundle.java:946)
at android.app.Notification.fixDuplicateExtra(Notification.java:2872)
at android.app.Notification.fixDuplicateExtras(Notification.java:2862)
at android.app.Notification.readFromParcelImpl(Notification.java:2207)
at android.app.Notification.<init>(Notification.java:2135)
at android.service.notification.StatusBarNotification.<init>(StatusBarNotification.java:104)
at android.service.notification.StatusBarNotification$1.createFromParcel(StatusBarNotification.java:194)
at android.service.notification.StatusBarNotification$1.createFromParcel(StatusBarNotification.java:191)
at bdq.a(SourceFile:7)
at czu.dispatchTransaction(SourceFile:9)
at bdp.onTransact(SourceFile:6)
at android.os.Binder.execTransact(Binder.java:752)
removeCarCallListener(gcb@c53f640)
removeListener: gcb@c53f640
enableInteraction
Sending Primes timer metric
Removed NetworkController, count: 0
activityResumeTrigger: The activity in ApplicationInfo{f14cfda com.google.android.projection.gearhead} is now in focus and seems to be in full-screen mode
activityResumeTrigger: not whiteListedcom.google.android.projection.gearhead/com.google.android.gearhead.vanagon.media.VnMediaActivity/55602944
Update Total Launch Times :com.google.android.projection.gearhead
updateSelf : com.google.android.projection.gearhead, size : 30
Last Running Package : com.google.android.projection.gearhead , start time 1597743642359
No peeking: unimportant notification: 0|com.google.android.apps.maps|1|null|10068
No peeking: unimportant notification: 0|com.google.android.apps.maps|1|null|10068
updateMediaMetaData: hasArtwork = true, mState:0, false, mDozing:false, delay:0, true, vis:8, alpha:1.0, false, meta:false, fading:false, 0, false
onNewIntent: com.google.android.gearhead.vanagon.media.VnMediaActivity:Intent { flg=0x34800000 cmp=com.google.android.projection.gearhead/com.google.android.gearhead.vanagon.media.VnMediaActivity (has extras) }
Exiting onNewIntent: called before onStart
App foreground state unchanged: inForeground ? true
activeComponentName: VnMediaActivity
checkOpNoThrow(SYSTEM_ALERT_WINDOW, 10119, com.google.android.projection.gearhead) = DEFAULT
Activity requesting to dismiss Keyguard: ActivityRecord{a4f6fef u0 com.google.android.projection.gearhead/com.google.android.gearhead.vanagon.media.VnMediaActivity t29319}
Try to read cache from sharedPreferences for [carDisplayType: MAIN, uiMode: VANAGON, key: 3]
VnMediaActivity:tintStatusBarIconsWorker false
storing vehicle action VEHICLE_PARKED
uid=10119 com.google.android.projection.gearhead:vanagon identical 1 line
storing vehicle action VEHICLE_PARKED
readDefaultApp tv.plex.labs.plexamp/com.plexamp.PlayerService (Legacy=false)
For AvailableAppFinderQuery[carDisplayType=MAIN,facetType=MUSIC,androidAutoUiMode=VANAGON,isPackageNameSet=true,packageName=tv.plex.labs.plexamp,filters=[ENABLED_BY_USER, COMPATIBLE_WITH_VEHICLE]] found available apps: [ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService}]
For AvailableAppFinderQuery[carDisplayType=MAIN,facetType=MUSIC,androidAutoUiMode=VANAGON,isPackageNameSet=false,filters=[ENABLED_BY_USER, COMPATIBLE_WITH_VEHICLE]] found available apps: [ComponentInfo{com.google.android.apps.books/com.google.android.apps.play.books.audio.BooksMediaBrowseService}, ComponentInfo{com.google.android.music/com.google.android.music.browse.MediaBrowserService}, ComponentInfo{com.plexapp.android/com.plexapp.plex.audioplayer.MediaBrowserAudioService}, ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService}, ComponentInfo{com.google.android.googlequicksearchbox/com.google.android.apps.gsa.staticplugins.mediabrowser.PodcastsMediaBrowserService}, ComponentInfo{com.rhmsoft.pulsar/com.rhmsoft.play.music.MusicService}, ComponentInfo{com.spotify.music/com.spotify.music.libs.mediabrowserservice.SpotifyMediaBrowserService}, ComponentInfo{org.telegram.messenger/org.telegram.messenger.MusicBrowserService}]
For AvailableAppFinderQuery[carDisplayType=MAIN,facetType=MUSIC,androidAutoUiMode=VANAGON,isPackageNameSet=false,filters=[ENABLED_BY_USER, COMPATIBLE_WITH_VEHICLE]] found available apps: [ComponentInfo{com.google.android.apps.books/com.google.android.apps.play.books.audio.BooksMediaBrowseService}, ComponentInfo{com.google.android.music/com.google.android.music.browse.MediaBrowserService}, ComponentInfo{com.plexapp.android/com.plexapp.plex.audioplayer.MediaBrowserAudioService}, ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService}, ComponentInfo{com.google.android.googlequicksearchbox/com.google.android.apps.gsa.staticplugins.mediabrowser.PodcastsMediaBrowserService}, ComponentInfo{com.rhmsoft.pulsar/com.rhmsoft.play.music.MusicService}, ComponentInfo{com.spotify.music/com.spotify.music.libs.mediabrowserservice.SpotifyMediaBrowserService}, ComponentInfo{org.telegram.messenger/org.telegram.messenger.MusicBrowserService}]
Attempting connection to media app ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService}
readDefaultApp tv.plex.labs.plexamp/com.plexamp.PlayerService (Legacy=false)
For AvailableAppFinderQuery[carDisplayType=MAIN,facetType=MUSIC,androidAutoUiMode=VANAGON,isPackageNameSet=true,packageName=tv.plex.labs.plexamp,filters=[ENABLED_BY_USER, COMPATIBLE_WITH_VEHICLE]] found available apps: [ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService}]
For AvailableAppFinderQuery[carDisplayType=MAIN,facetType=MUSIC,androidAutoUiMode=VANAGON,isPackageNameSet=false,filters=[ENABLED_BY_USER, COMPATIBLE_WITH_VEHICLE]] found available apps: [ComponentInfo{com.google.android.apps.books/com.google.android.apps.play.books.audio.BooksMediaBrowseService}, ComponentInfo{com.google.android.music/com.google.android.music.browse.MediaBrowserService}, ComponentInfo{com.plexapp.android/com.plexapp.plex.audioplayer.MediaBrowserAudioService}, ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService}, ComponentInfo{com.google.android.googlequicksearchbox/com.google.android.apps.gsa.staticplugins.mediabrowser.PodcastsMediaBrowserService}, ComponentInfo{com.rhmsoft.pulsar/com.rhmsoft.play.music.MusicService}, ComponentInfo{com.spotify.music/com.spotify.music.libs.mediabrowserservice.SpotifyMediaBrowserService}, ComponentInfo{org.telegram.messenger/org.telegram.messenger.MusicBrowserService}]
For AvailableAppFinderQuery[carDisplayType=MAIN,facetType=MUSIC,androidAutoUiMode=VANAGON,isPackageNameSet=false,filters=[ENABLED_BY_USER, COMPATIBLE_WITH_VEHICLE]] found available apps: [ComponentInfo{com.google.android.apps.books/com.google.android.apps.play.books.audio.BooksMediaBrowseService}, ComponentInfo{com.google.android.music/com.google.android.music.browse.MediaBrowserService}, ComponentInfo{com.plexapp.android/com.plexapp.plex.audioplayer.MediaBrowserAudioService}, ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService}, ComponentInfo{com.google.android.googlequicksearchbox/com.google.android.apps.gsa.staticplugins.mediabrowser.PodcastsMediaBrowserService}, ComponentInfo{com.rhmsoft.pulsar/com.rhmsoft.play.music.MusicService}, ComponentInfo{com.spotify.music/com.spotify.music.libs.mediabrowserservice.SpotifyMediaBrowserService}, ComponentInfo{org.telegram.messenger/org.telegram.messenger.MusicBrowserService}]
LastPlayedComponent: null CurrentComponent: ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService}
Connecting to ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService}
Connecting to a MediaBrowserService.
Sending Primes timer metric
id: fab
mType: Custom
mFocusGainedAnimation: null
mFocusLostAnimation: null
mBackground: null
mIsChecked: false
mIsBroadcasting: false
mOnCheckedChangeListener: null
id: alpha_jump_fab
mType: Custom
mFocusGainedAnimation: null
mFocusLostAnimation: null
mBackground: null
mIsChecked: false
mIsBroadcasting: false
mOnCheckedChangeListener: null
New CarSystemUiCallback registered, count: 1
For AvailableAppFinderQuery[carDisplayType=MAIN,facetType=NAVIGATION,androidAutoUiMode=VANAGON,isPackageNameSet=true,packageName=com.google.android.projection.gearhead,filters=[ENABLED_BY_USER, COMPATIBLE_WITH_VEHICLE]] found available apps: []
For AvailableAppFinderQuery[carDisplayType=MAIN,facetType=NAVIGATION,androidAutoUiMode=VANAGON,isPackageNameSet=true,packageName=com.google.android.projection.gearhead,filters=[ENABLED_BY_USER, COMPATIBLE_WITH_VEHICLE]] found available apps: []
Sending Primes timer metric
Setting wifi level to: 4
Unbind failed: could not find connection for android.os.BinderProxy@6af5e6c
onConnectionFailed
Media browser connection FAILED!
onMediaAppChanged(ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService})
Connecting to a MediaBrowserService.
onMediaAppChanged(ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService})
Connecting to a MediaBrowserService.
MediaBrowser onMediaAppChanged called current=null new=ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService}
onMediaAppChanged(ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService})
Connecting to a MediaBrowserService.
onMediaAppChanged(ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService})
Connecting to a MediaBrowserService.
onMediaAppChanged from:null to:ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService}
showLoadingView
setState NoContentState{viewType=LOADING, message=null, iconResourceId=null}
onMediaAppChanged from:null to:ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService}
showLoadingView
setState NoContentState{viewType=LOADING, message=null, iconResourceId=null}
onMediaAppChanged from:null to:ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService}
onMediaAppChanged(ComponentInfo{tv.plex.labs.plexamp/com.plexamp.PlayerService})
Connecting to a MediaBrowserService.
onTaskStackChanged# mTaskChangeId=2208
Unknown PlaybackState: -1
uid=10119 com.google.android.projection.gearhead:vanagon identical 7 lines
Unknown PlaybackState: -1
android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
GoogleInputMethodService.onFinishInput():3162
GoogleInputMethodService.onStartInput():1831
Setting wifi level to: 4
For AvailableAppFinderQuery[carDisplayType=MAIN,facetType=NAVIGATION,androidAutoUiMode=VANAGON,isPackageNameSet=true,packageName=com.google.android.projection.gearhead,filters=[ENABLED_BY_USER, COMPATIBLE_WITH_VEHICLE]] found available apps: []
Unbind failed: could not find connection for android.os.BinderProxy@dee76b1
Media browser service connection FAILED!
Unbind failed: could not find connection for android.os.BinderProxy@498a796
Media browser service connection FAILED!
Media browser service connection FAILED!
Unbind failed: could not find connection for android.os.BinderProxy@642cced
Media browser service connection FAILED!
Unbind failed: could not find connection for android.os.BinderProxy@12fa722
Media browser service connection FAILED!
onMediaConnectionFailed failedMediaClientName=Plexamp
showErrorView Plexamp non sembra funzionare al momento.
setState NoContentState{viewType=ERROR, message=Plexamp non sembra funzionare al momento., iconResourceId=null}
onMediaConnectionFailed failedMediaClientName=Plexamp
showNoContentMessage Plexamp non sembra funzionare al momento., isError=true
setState NoContentState{viewType=ERROR, message=Plexamp non sembra funzionare al momento., iconResourceId=null}
Unbind failed: could not find connection for android.os.BinderProxy@c82b5b3
Media browser service connection FAILED!
NativeAlloc concurrent copying GC freed 25202(1058KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 9MB/19MB, paused 126us total 108.343ms
DeviceSleep: TX Awake, Sending SLEEP_IND
SerialClockVote: vote for UART CLK OFF
ActivityTrigger activityStopTrigger
Disabling controller
Sending Primes timer metric
App foreground state unchanged: inForeground ? true
Release wakelock is released
onNotificationPosted# hash: 266655873 sbn: StatusBarNotification(pkg=android user=UserHandle{-1} id=10 tag=null key=-1|android|10|null|1000: Notification(channel=CAR_MODE pri=0 contentView=null vibrate=null sound=null defaults=0x4 flags=0x3 color=0xff607d8b vis=PRIVATE))
As you can see it fails to connect to the app.
I’m using Plexamp version 3.1.1 on Android 9 (OnePlus 3, Oxygen OS 9.0.6).