Skip to content

Instantly share code, notes, and snippets.

@magillus
Created August 21, 2018 11:44
Show Gist options
  • Save magillus/8474c20de653f36bf86038d55c48877f to your computer and use it in GitHub Desktop.
Save magillus/8474c20de653f36bf86038d55c48877f to your computer and use it in GitHub Desktop.
Medium on media button play opens empty notification that can't be dimissed. Here is logcat for it
08-21 06:39:54.332 1535-4176/? D/MediaSessionService: Sending KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_MEDIA_PLAY_PAUSE, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=0, downTime=0, deviceId=-1, displayId=0, source=0x0 } to the last known PendingIntent PendingIntent{5b76839: PendingIntentRecord{7925b0e com.medium.reader broadcastIntent}}
08-21 06:39:54.333 1535-4176/? D/MediaSessionService: Sending KeyEvent { action=ACTION_UP, keyCode=KEYCODE_MEDIA_PLAY_PAUSE, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=0, downTime=0, deviceId=-1, displayId=0, source=0x0 } to the last known PendingIntent PendingIntent{5b76839: PendingIntentRecord{7925b0e com.medium.reader broadcastIntent}}
08-21 06:39:54.335 1535-1550/? D/StorageManagerService: getExternalStorageMountMode : 1
getExternalStorageMountMode : 3
getExternalStorageMountMode : final mountMode=1, uid : 10324, packageName : com.medium.reader
08-21 06:39:54.335 1535-1550/? I/ApplicationPolicy: isApplicationExternalStorageWhitelisted:com.medium.reader user:0
08-21 06:39:54.335 1535-1550/? D/ActivityManager: package com.medium.reader, user - 0 is SDcard whitelisted
08-21 06:39:54.335 1535-1550/? I/ApplicationPolicy: isApplicationExternalStorageBlacklisted:com.medium.reader user:0
08-21 06:39:54.364 1535-1550/? I/ActivityManager: Start proc 21053:com.medium.reader/u0a324 for broadcast com.medium.reader/android.support.v4.media.session.MediaButtonReceiver
08-21 06:39:54.377 21053-21053/? I/SELinux: SELinux: seapp_context_lookup: seinfo=untrusted, level=s0:c512,c768, pkgname=com.medium.reader
08-21 06:39:54.427 1535-3750/? I/ActivityManager: DSS on for com.medium.reader and scale is 1.0
08-21 06:39:54.828 21053-21053/? D/RenderScript: Successfully queried cache dir: /data/user_de/0/com.medium.reader/code_cache
Setting cache dir: /data/user_de/0/com.medium.reader/code_cache
08-21 06:39:54.949 1535-4826/? D/SamsungAlarmManager: Cancel Alarm calling from uid:10324 pid :21053 / op:PendingIntent{c3a0ae2: PendingIntentRecord{d3ae73 com.medium.reader broadcastIntent}}
08-21 06:39:55.186 17314-18228/? I/Finsky: [11214] com.google.android.finsky.billing.iab.aj.b(29): com.medium.reader: Account determined from installer data - [QFbL8X1K0dcfl2tv8vB6mHIMBwk]
[11214] com.google.android.finsky.billing.iab.aj.b(32): com.medium.reader: Account from preferred account - [QFbL8X1K0dcfl2tv8vB6mHIMBwk]
08-21 06:39:55.207 17314-18228/? I/Finsky: [11214] com.google.android.finsky.billing.iab.aj.b(29): com.medium.reader: Account determined from installer data - [QFbL8X1K0dcfl2tv8vB6mHIMBwk]
[11214] com.google.android.finsky.billing.iab.aj.b(32): com.medium.reader: Account from preferred account - [QFbL8X1K0dcfl2tv8vB6mHIMBwk]
08-21 06:39:55.221 17314-18228/? I/Finsky: [11214] com.google.android.finsky.billing.iab.aj.b(29): com.medium.reader: Account determined from installer data - [QFbL8X1K0dcfl2tv8vB6mHIMBwk]
[11214] com.google.android.finsky.billing.iab.aj.b(32): com.medium.reader: Account from preferred account - [QFbL8X1K0dcfl2tv8vB6mHIMBwk]
08-21 06:39:55.234 1535-3750/? D/MediaSessionService: Media button session is changed to com.medium.reader/MediumAudioPlayer (userId=0)
Created session for com.medium.reader with tag MediumAudioPlayer
08-21 06:39:55.236 3572-3572/? D/Avrcp: updateCurrentController: MediaController (com.medium.reader@3ebb2c5) null <-- from -- null
08-21 06:39:55.287 21053-21131/? E/cr_VariationsUtils: Failed reading seed file "/data/user/0/com.medium.reader/app_webview/variations_seed_new": /data/user/0/com.medium.reader/app_webview/variations_seed_new (No such file or directory)
08-21 06:39:55.325 1535-1550/? D/ApplicationPolicy: isStatusBarNotificationAllowedAsUser: packageName = com.medium.reader,userId = 0
08-21 06:39:55.325 1535-1550/? D/ApplicationPolicy: isStatusBarNotificationAllowedAsUser: packageName = com.medium.reader,userId = 0
08-21 06:39:55.337 1535-1535/? D/EdgeLightingManager: isCallingUserSupported : callingUserId=0, mUserId=0, isDualAppId=false
showForNotification : isInteractive=true, isHeadUp=false, color=0, sbn = StatusBarNotification(pkg=com.medium.reader user=UserHandle{0} id=101 tag=null key=0|com.medium.reader|101|null|10324: Notification(channel=AUDIO_PLAYBACK pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0x62 color=0xff00ab69 category=transport actions=3 number=0 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0))
08-21 06:39:55.337 1535-1535/? D/EdgeLightingPolicyManager: isAcceptableApplication: pkg=com.medium.reader , range=256 , includeAllApp=false , userId=0 , infoRange=0 , infoCategory=0
08-21 06:39:55.337 1535-1535/? D/EdgeLightingPolicyManager.NotificationGroup: updateNotificationData put :0|com.medium.reader|101|null|10324,size=7
0|com.linkedin.android|-601305883|null|10313:NotificationData time=1534850016357,
0|android|40|null|1000:NotificationData time=1534851595326,
0|flipboard.boxer.app|10000|null|10137:NotificationData time=1534851522275,
0|com.lastpass.lpandroid|10005|null|10298:NotificationData time=1534583089723,
0|com.android.vending|874755343|null|10052:NotificationData time=1534842085538,
0|com.medium.reader|101|null|10324:NotificationData time=1534851595337,
0|com.sec.android.daemonapp|4906|null|10187:NotificationData time=1534846129173,
08-21 06:39:55.342 4892-4892/? D/Level_SysNotificationListener: [onNotificationPosted] pkg name : com.medium.reader
[onNotificationPosted] This Notification is On-Going, let's skip it com.medium.reader
08-21 06:39:55.352 1535-1550/? D/ApplicationPolicy: isStatusBarNotificationAllowedAsUser: packageName = com.medium.reader,userId = 0
08-21 06:39:55.352 1535-1550/? D/ApplicationPolicy: isStatusBarNotificationAllowedAsUser: packageName = com.medium.reader,userId = 0
08-21 06:39:55.354 1535-1535/? D/EdgeLightingManager: isCallingUserSupported : callingUserId=0, mUserId=0, isDualAppId=false
showForNotification : isInteractive=true, isHeadUp=false, color=0, sbn = StatusBarNotification(pkg=com.medium.reader user=UserHandle{0} id=101 tag=null key=0|com.medium.reader|101|null|10324: Notification(channel=AUDIO_PLAYBACK pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0x62 color=0xff00ab69 category=transport actions=3 number=0 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0))
08-21 06:39:55.354 1535-1535/? D/EdgeLightingPolicyManager: isAcceptableApplication: pkg=com.medium.reader , range=256 , includeAllApp=false , userId=0 , infoRange=0 , infoCategory=0
putNotification tickerText:false,titleText:false,text:false,sub:falsecn= + null
08-21 06:39:55.354 1535-1535/? D/EdgeLightingPolicyManager.NotificationGroup: updateNotificationData put :0|com.medium.reader|101|null|10324,size=8
0|com.linkedin.android|-601305883|null|10313:NotificationData time=1534850016357,
0|android|40|null|1000:NotificationData time=1534851595326,
0|flipboard.boxer.app|10000|null|10137:NotificationData time=1534851522275,
0|com.lastpass.lpandroid|10005|null|10298:NotificationData time=1534583089723,
0|com.android.vending|874755343|null|10052:NotificationData time=1534842085538,
0|com.medium.reader|101|null|10324:NotificationData time=1534851595354,
0|com.sec.android.daemonapp|4906|null|10187:NotificationData time=1534846129173,
0|com.samsung.android.email.provider|g:group_key_new_emails_2:NotificationData time=1534851254384,
08-21 06:39:55.358 3606-3606/? D/StatusBar: addNotification key=0|com.medium.reader|101|null|10324 fullscreen:false
08-21 06:39:55.360 4892-4892/? D/Level_SysNotificationListener: [onNotificationPosted] pkg name : com.medium.reader
[onNotificationPosted] This Notification is On-Going, let's skip it com.medium.reader
08-21 06:39:55.372 3606-3606/? D/StatusBar: addNotification key=0|com.medium.reader|101|null|10324 fullscreen:false
...
08-21 06:40:00.926 1535-4176/? D/PackageManager: getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mActivities
getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mServices
getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mProviders
getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mReceivers
08-21 06:40:00.926 20251-20251/? I/ApplicationPackageManager: return adaptive icon for com.medium.reader
08-21 06:40:00.987 1535-4176/? D/PackageManager: getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mActivities
getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mServices
getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mProviders
getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mReceivers
08-21 06:40:00.988 20251-20251/? I/ApplicationPackageManager: return adaptive icon for com.medium.reader
08-21 06:40:01.072 1535-1546/? D/PackageManager: getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mActivities
getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mServices
getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mProviders
getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mReceivers
08-21 06:40:01.072 20251-20251/? I/ApplicationPackageManager: return adaptive icon for com.medium.reader
08-21 06:40:03.549 20251-20251/? D/InstalledAppDetails: Stopping package com.medium.reader
08-21 06:40:03.551 1535-4748/? I/ActivityManager: Force stopping com.medium.reader appid=10324 user=0: from pid 20251
08-21 06:40:03.552 1535-4748/? I/ActivityManager: Killing 21053:com.medium.reader/u0a324 (adj 200): stop com.medium.reader,from pid 20251
08-21 06:40:03.560 1535-4748/? W/ActivityManager: Scheduling restart of crashed service com.medium.reader/com.medium.android.donkey.audio.AudioPlayerService in 1000ms
08-21 06:40:03.561 1535-1535/? D/EdgeLightingManager: isCallingUserSupported : callingUserId=0, mUserId=0, isDualAppId=false
hideForNotification : packageName = com.medium.reader
08-21 06:40:03.561 1535-1535/? D/EdgeLightingPolicyManagerNotificationGroup: remove :0|com.medium.reader|101|null|10324,size=7
08-21 06:40:03.571 4892-4892/? D/Level_SysNotificationListener: [onNotificationRemoved] pkg name : com.medium.reader, id : 101
08-21 06:40:03.574 1535-4748/? I/ActivityManager: Force stopping service ServiceRecord{5bef092 u0 com.medium.reader/com.medium.android.donkey.audio.AudioPlayerService}
08-21 06:40:03.576 20251-20251/? D/InstalledAppDetails: Sending broadcast to query restart status for com.medium.reader
08-21 06:40:03.596 1535-4826/? D/PackageManager: getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mActivities
getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mServices
getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mProviders
getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mReceivers
08-21 06:40:03.596 20251-20595/? I/ApplicationPackageManager: return adaptive icon for com.medium.reader
08-21 06:40:03.601 1535-1550/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_RESTARTED dat=package:com.medium.reader flg=0x10 (has extras) } to android/com.kddi.android.CpaNotiReceiver
08-21 06:40:03.602 20251-20251/? D/InstalledAppDetails: Sending broadcast to query restart status for com.medium.reader
08-21 06:40:03.602 1535-1550/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_RESTARTED dat=package:com.medium.reader flg=0x10 (has extras) } to com.sec.android.daemonapp/com.samsung.android.weather.daemon.receiver.ClearDataReceiver
08-21 06:40:03.605 1535-1535/? D/SamsungAlarmManager: Remove alarm for next reason : android.intent.action.PACKAGE_RESTARTED : package: com.medium.reader
08-21 06:40:03.620 1535-4748/? D/PackageManager: getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mActivities
getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mServices
getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mProviders
getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mReceivers
08-21 06:40:03.620 20251-20251/? I/ApplicationPackageManager: return adaptive icon for com.medium.reader
08-21 06:40:03.639 1535-4748/? D/MediaSessionService: Destroying com.medium.reader/MediumAudioPlayer (userId=0)
Media button session is changed to null
08-21 06:40:03.640 3572-5050/? D/Avrcp: updateCurrentController: null <-- from -- MediaController (com.medium.reader@3ebb2c5) null
08-21 06:40:03.648 20251-20251/? D/InstalledAppDetails: Sending broadcast to query restart status for com.medium.reader
08-21 06:40:03.662 1535-4184/? D/PackageManager: getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mActivities
getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mServices
getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mProviders
getComponentMetadataForIconTray : com.medium.android.donkey.DonkeyApplication does not exist in mReceivers
08-21 06:40:03.663 20251-20251/? I/ApplicationPackageManager: return adaptive icon for com.medium.reader
08-21 06:40:03.683 20251-20251/? D/InstalledAppDetails: Got broadcast response: Restart status for com.medium.reader false
08-21 06:40:03.698 20251-20251/? D/InstalledAppDetails: Got broadcast response: Restart status for com.medium.reader false
08-21 06:40:03.738 20251-20251/? D/InstalledAppDetails: Got broadcast response: Restart status for com.medium.reader false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment