{"action":"closed","issue":{"url":"https://api.github.com/repos/a-student/BetterVectorDrawable/issues/7","labels_url":"https://api.github.com/repos/a-student/BetterVectorDrawable/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/a-student/BetterVectorDrawable/issues/7/comments","events_url":"https://api.github.com/repos/a-student/BetterVectorDrawable/issues/7/events","html_url":"https://github.com/a-student/BetterVectorDrawable/issues/7","id":118831406,"number":7,"title":"RemoteServiceException when using in Notifications","user":{"login":"krawa","id":4631330,"avatar_url":"https://avatars.githubusercontent.com/u/4631330?v=3","gravatar_id":"","url":"https://api.github.com/users/krawa","html_url":"https://github.com/krawa","followers_url":"https://api.github.com/users/krawa/followers","following_url":"https://api.github.com/users/krawa/following{/other_user}","gists_url":"https://api.github.com/users/krawa/gists{/gist_id}","starred_url":"https://api.github.com/users/krawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krawa/subscriptions","organizations_url":"https://api.github.com/users/krawa/orgs","repos_url":"https://api.github.com/users/krawa/repos","events_url":"https://api.github.com/users/krawa/events{/privacy}","received_events_url":"https://api.github.com/users/krawa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-25T12:57:51Z","updated_at":"2015-12-15T11:38:46Z","closed_at":"2015-12-15T11:38:46Z","body":"I get an crash when I use the BetterVectorDrawable in Notifications\r\n\r\n<pre>\r\nNotificationCompat.Builder nb = new NotificationCompat.Builder(context)\r\n\t\t        .setSmallIcon(R.drawable.ic_statusbar_vector) \r\n\t\t        .setAutoCancel(true)\r\n\t\t        .setWhen(System.currentTimeMillis())\r\n\t\t        .setContentTitle(context.getString(R.string.app_name))\r\n\t\t        .setDefaults(Notification.DEFAULT_LIGHTS) ;\r\n.............................\r\nNotification notification = nb.build();\r\nmanager.notify(lastId, notification);\r\n</pre>\r\nStackTrace\r\n<pre>\r\nReport:\r\nAPP_VERSION_CODE=\r\nAPP_VERSION_NAME=\r\nPHONE_MODEL=GT-I9505\r\nANDROID_VERSION=4.4.2\r\nCUSTOM_DATA=\r\nSTACK_TRACE=android.app.RemoteServiceException: Bad notification posted from package com.my.appname: Couldn't create icon: StatusBarIcon(pkg=com.my.appnameuser=0 id=0x7f0204a4 level=0 visible=true num=0 )\r\nat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1441)\r\nat android.os.Handler.dispatchMessage(Handler.java:102)\r\nat android.os.Looper.loop(Looper.java:157)\r\nat android.app.ActivityThread.main(ActivityThread.java:5356)\r\nat java.lang.reflect.Method.invokeNative(Native Method)\r\nat java.lang.reflect.Method.invoke(Method.java:515)\r\nat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)\r\nat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)\r\nat dalvik.system.NativeStart.main(Native Method)\r\n</pre>"}}