在控制台中发送包含内容的通知,一加3T 显示系统界面停止运行 手机只能重启

android
标签: #<Tag:0x00007fb848b07e78>

(进击的豆芽儿) #1

集成方式:JCenter自动集成
SDK版本:jpush-android-3.1.0 jcore-android-1.1.8
手机型号及系统版本:OnePlus 3T OxygenOS(android 8.0.0)

在控制台中发送包含内容的通知,一加3T 显示系统界面停止运行 手机只能重启


JCenter集成 没有提示Login succeed!
#2

取一下完整的客户端日志,在出现停止运行情况时候的。


(进击的豆芽儿) #3
D JIGUANG-JPush: {"n_builder_id":0,"ad_id":"1174899975","n_only":1,"m_content":{"n_content":"测试测试","n_style":0,"n_extras":{},"ad_t":0,"n_priority":0,"n_alert_type":7,"n_title":"","n_category":"","n_flag":1},"show_type":4} - JResponse{code=0}
01-05 10:55:23.430  6619  6642 W System.err: fix xml header from 22
01-05 10:55:23.437  6619  6642 W System.err: parse item null
01-05 10:55:23.437  6619  6642 W System.err: text not in xml format
JIGUANG-JPush: [NotificationHelper] running flag:false
 NotificationListener: onNotificationPosted# hash: 145856356 sbn: StatusBarNotification(pkg=******* user=UserHandle{0} id=1174899975 tag=null key=0|cn.appoa.ospservice.platforms|1174899975|null|10441: Notification(channel=JPush pri=0 contentView=null vibrate=default sound=default tick defaults=0x7 flags=0x11 color=0x00000000 vis=PRIVATE))
01-05 10:55:23.559  2009  2009 D AndroidRuntime: Shutting down VM
--------- beginning of crash
01-05 10:55:23.559  2009  2009 E AndroidRuntime: FATAL EXCEPTION: main
01-05 10:55:23.559  2009  2009 E AndroidRuntime: Process: com.android.systemui, PID: 2009
01-05 10:55:23.559  2009  2009 E AndroidRuntime: java.lang.IllegalArgumentException: width and height must be > 0
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.graphics.Bitmap.createBitmap(Bitmap.java:1001)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.graphics.Bitmap.createBitmap(Bitmap.java:968)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.graphics.Bitmap.createBitmap(Bitmap.java:918)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.graphics.Bitmap.createBitmap(Bitmap.java:879)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.graphics.drawable.AdaptiveIconDrawable.updateMaskBoundsInternal(AdaptiveIconDrawable.java:333)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.graphics.drawable.AdaptiveIconDrawable.updateLayerBounds(AdaptiveIconDrawable.java:295)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.graphics.drawable.AdaptiveIconDrawable.onStateChange(AdaptiveIconDrawable.java:782)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.graphics.drawable.Drawable.setState(Drawable.java:775)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.widget.ImageView.drawableStateChanged(ImageView.java:1305)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.view.View.refreshDrawableState(View.java:20118)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.view.View.dispatchAttachedToWindow(View.java:17515)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.view.ViewGroup.addViewInner(ViewGroup.java:4959)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.view.ViewGroup.addView(ViewGroup.java:4750)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at com.android.systemui.statusbar.phone.NotificationIconAreaController.updateIconsForLayout(NotificationIconAreaController.java:267)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at com.android.systemui.statusbar.phone.NotificationIconAreaController.updateNotificationIcons(NotificationIconAreaController.java:175)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at com.android.systemui.statusbar.phone.StatusBar.updateNotificationShade(StatusBar.java:2210)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at com.android.systemui.statusbar.phone.StatusBar.updateNotifications(StatusBar.java:2513)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at com.android.systemui.statusbar.phone.StatusBar.addNotificationViews(StatusBar.java:7628)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at com.android.systemui.statusbar.phone.StatusBar.addEntry(StatusBar.java:1854)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at com.android.systemui.statusbar.phone.StatusBar.onAsyncInflationFinished(StatusBar.java:1871)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at com.android.systemui.statusbar.notification.NotificationInflater$AsyncInflationTask.onAsyncInflationFinished(NotificationInflater.java:641)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at com.android.systemui.statusbar.notification.NotificationInflater.finishIfDone(NotificationInflater.java:460)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at com.android.systemui.statusbar.notification.NotificationInflater.-wrap0(Unknown Source:0)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at com.android.systemui.statusbar.notification.NotificationInflater$6.onViewApplied(NotificationInflater.java:343)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:3478)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:3458)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.os.AsyncTask.finish(AsyncTask.java:695)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.os.AsyncTask.-wrap1(Unknown Source:0)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:712)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:105)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:164)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6809)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
01-05 10:55:23.559  2009  2009 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
01-05 10:55:23.559  2009  2009 D AppTracker: App Event: crash
01-05 10:55:23.565  2009  2009 D OSTracker: OS Event: system_app_crash
01-05 10:55:23.573  1203  4621 W ActivityManager:   Force finishing activity com.android.systemui/.recents.RecentsActivity
01-05 10:55:23.577  1203 14017 W DropBoxManagerService: Dropping: system_app_crash (3074 > 0 bytes)
01-05 10:55:23.590  1203  1281 I ActivityManager: Showing crash dialog for package com.android.systemui u0
01-05 10:55:23.608  1203  1281 E BoostFramework: BoostFramework() : Exception_1 = java.lang.NoSuchMethodException: perfIOPrefetchStart [int, class java.lang.String, class java.lang.String]
01-05 10:55:23.622  1203  1281 I ActivityManager: demoteSystemServerRenderThread 3053

#4

你看看这个是否情况一致:


(进击的豆芽儿) #6

嗯这个问题按照这位开发者的意见解决了,可以收到通知,也希望你们在文档中说明让其他开发知道减少你们的工作量,很谢谢。

新的问题:
不打开通知栏系统状态栏显示的是应用图标
而通知栏下拉菜单里显示的却是灰色的图标
如下


这个问题怎么解决啊?


#7

设置一下下拉的图标