« Previous | Next » 

Revision d672983a

IDd672983a902cf2ab440ca84aa487dfe14c48aa4e
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.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences