fix launching with account intent every which way

Don't require the 'color' attribute (missing => default/0).
Don't NPE on restoring invalid account (and log this).
Don't continue intent processing if account is invalid.

also remove some unnecessary boxing/unboxing.

Bug: 6521470
Change-Id: Ia662b3462cce364921a4db0158babfe17bfda553
2 files changed