« Previous | Next » 

Revision d672983a

Parent 0b160d2e
Child 2868e3c4

Added by pserwylo over 2 years ago

Refactor toolbar colours, fix notification for < 4.1 devices.

InnerView.getToolbarColour() was expecting a @ColorRes, except all views
were returning integers which were the colour value, not a pointer to
the resource as they should have been. Now only one place requires a
call to getResources().getColor() whereas before it was in each view.

Notifications on pre 4.1 devices require a pending intent to work. This
is so that when you touch the intent, it takes you somewhere meaningfull.
Without it, the update process crashes.


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences