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

在 DragView.getBadge 为什么会出现 width / height 必须要 > 0的场景 #15

Open
zhaoxiachao opened this issue May 24, 2021 · 0 comments

Comments

@zhaoxiachao
Copy link

Back traces starts.
java.lang.IllegalArgumentException: width and height must be > 0
at android.graphics.Bitmap.createBitmap(Bitmap.java:1133)
at android.graphics.Bitmap.createBitmap(Bitmap.java:969)
at com.vivo.content.ImageUtil.getCloneBitmap(ImageUtil.java:1546)
at com.vivo.content.ImageUtil.getCloneBitmap(ImageUtil.java:1470)
at android.app.ApplicationPackageManager.getUserBadgedIcon(ApplicationPackageManager.java:1610)
at android.launcher.dragndrop.i.A(DragView.java:14)
at android.launcher.dragndrop.i.n(DragView.java:1)
at android.launcher.dragndrop.i$c.run(DragView.java:11)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:239)
at android.os.HandlerThread.run(HandlerThread.java:67)
Back traces ends.

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