title: TextVew throws exception when provides info for Assistance
body: <p>TextView throws NullPointerException when requested from Assistance. Is there any ideas what's wrong? </p>
  
  <p>I do not even have an idea what exactly was on the screen at the time of the crash.</p>
  
  <pre><code>Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 
  'android.graphics.Rect android.graphics.drawable.Drawable.getBounds()' on a null 
  object reference
     at android.text.style.DynamicDrawableSpan.getSize(DynamicDrawableSpan.java:78)
     at android.text.MeasuredText.addStyleRun(MeasuredText.java:284)
     at android.text.StaticLayout.generate(StaticLayout.java:744)
     at android.text.DynamicLayout.reflow(DynamicLayout.java:300)
     at android.text.DynamicLayout.&lt;init&gt;(DynamicLayout.java:175)
     at android.widget.TextView.makeSingleLayout(TextView.java:8043)
     at android.widget.TextView.makeNewLayout(TextView.java:7886)
     at android.widget.TextView.assumeLayout(TextView.java:7785)
     at android.widget.TextView.onProvideStructure(TextView.java:10536)
     at android.view.View.dispatchProvideStructure(View.java:7382)
     at android.view.ViewGroup.dispatchProvideStructure(ViewGroup.java:3276)
     at android.view.ViewGroup.dispatchProvideStructure(ViewGroup.java:3276)
     at android.view.ViewGroup.dispatchProvideStructure(ViewGroup.java:3276)
     at android.view.ViewGroup.dispatchProvideStructure(ViewGroup.java:3276)
     at android.view.ViewGroup.dispatchProvideStructure(ViewGroup.java:3276)
     at android.view.ViewGroup.dispatchProvideStructure(ViewGroup.java:3276)
     at android.view.ViewGroup.dispatchProvideStructure(ViewGroup.java:3276)
     at android.view.ViewGroup.dispatchProvideStructure(ViewGroup.java:3276)
     at android.view.ViewGroup.dispatchProvideStructure(ViewGroup.java:3276)
     at android.view.ViewGroup.dispatchProvideStructure(ViewGroup.java:3276)
     at android.view.ViewGroup.dispatchProvideStructure(ViewGroup.java:3276)
     at android.view.ViewGroup.dispatchProvideStructure(ViewGroup.java:3276)
     at android.view.ViewGroup.dispatchProvideStructure(ViewGroup.java:3276)
     at android.app.assist.AssistStructure$WindowNode.&lt;init&gt;(AssistStructure.java:422)
     at android.app.assist.AssistStructure.&lt;init&gt;(AssistStructure.java:1335)
     at android.app.ActivityThread.handleRequestAssistContextExtras(ActivityThread.java:3110)
     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1834)
     at android.os.Handler.dispatchMessage(Handler.java:102)
     at android.os.Looper.loop(Looper.java:154)
     at android.app.ActivityThread.main(ActivityThread.java:6682)
     at java.lang.reflect.Method.invoke(Method.java)
     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
  </code></pre>