title: 5.1 Crash - A TaskDescription's primary color should be opaque
body: <p>I have implemented material design into my app and it runs perfectly fine on &lt; Android 5 but when I try to run on Android 5.0 and above I get the following in my logcat.</p>
  
  <pre><code>     FATAL EXCEPTION main
   Process com.test.test, PID 3195
   java.lang.RuntimeException Unable to start activity ComponentInfo{com.test.test/com.test.test.MainActivity} java.lang.RuntimeException A TaskDescription's primary color should be opaque
      at android.app.ActivityThread.performLaunchActivity(ActivityThread.java2298)
      at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java2360)
      at android.app.ActivityThread.access$800(ActivityThread.java144)
      at android.app.ActivityThread$H.handleMessage(ActivityThread.java1278)
      at android.os.Handler.dispatchMessage(Handler.java102)
      at android.os.Looper.loop(Looper.java135)
      at android.app.ActivityThread.main(ActivityThread.java5221)
      at java.lang.reflect.Method.invoke(Native Method)
      at java.lang.reflect.Method.invoke(Method.java372)
      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java899)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java694)
   Caused by java.lang.RuntimeException A TaskDescription's primary color should be opaque
      at android.app.ActivityManager$TaskDescription.&lt;init&gt;(ActivityManager.java536)
      at android.app.Activity.onApplyThemeResource(Activity.java3677)
      at android.view.ContextThemeWrapper.initializeTheme(ContextThemeWrapper.java140)
      at android.view.ContextThemeWrapper.setTheme(ContextThemeWrapper.java85)
      at android.app.ActivityThread.performLaunchActivity(ActivityThread.java2244)
      ... 10 more
  </code></pre>
  
  <p>And here is my styles:</p>
  
  <pre><code>    &lt;resources&gt;
  
      &lt;!--
          Base application theme, dependent on API level. This theme is replaced
          by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
  
  
      --&gt;
  
  
      &lt;!-- All customizations that are NOT specific to a particular API-level can go here. --&gt;
  
      &lt;style name="AppTheme" parent="@style/Theme.AppCompat.NoActionBar"&gt;
  
          &lt;!-- All customizations that are NOT specific to a particular API-level can go here. --&gt;
  
          &lt;item name="colorPrimaryDark"&gt;#4DFF9800&lt;/item&gt;
          &lt;item name="colorPrimary"&gt;#4D607D8B&lt;/item&gt;
      &lt;/style&gt;
  
  &lt;/resources&gt;
  </code></pre>
  
  <p>If anyone could give me some guidance that would be great thanks.</p>