Fix ellipsised comments

CommitCard: Use orange stripe for open status.
 CommitCard is not currently used.

Change-Id: Icc76c27b2ff1d6fbd9d66034cb8aa506e21c63e6
Fix logic error when removing Gerrit

Previously, this guard would be useless as position would never be greater
 than the size of the array as position is 0-based and the size is 1-based.

Change-Id: I1a58f32bcd1a71fb6d4078b4a323d0a98e38d89a
Fix: IndexOutOfBoundsException (@GerritSwitcher:removeItem:201) {main}
Utilize Java 7's diamond operator for collections

Now that Android supports Java 7 its time to start using the new
features.

This commit updates Collections to use the diamond operator (<>) and
no other features.

TODO: Add multi-catch where suitable

NOTE: try with resources is only supported in API version 19 (KitKat).
Since we target 2.3+ we can not utilize this feature

Change-Id: I60c174d021feac0439ff3a8dca4a2a5241d3a4f8
Further Java 7 migration

Update remaining Collections to use the diamond operator (<>)
 for main package

Replace for loops with foreach where applicable

Use a switch to test one string against many.

Change-Id: I1861f0fd0c718e8f9859b0e33a761f5e9f8e8001
Fix selected change receiver being disabled

Previously, after changing the theme, trying to select a change no longer worked.
 This was because onPause was called after the last call to onResume.
 Registering/unregistering the listeners when the activity is started/stopped instead
 fixes this.
Fix bad merge in GsonRequest.

Change-Id: I964019cbfbbcdc421f9b578fefb8db230307c268
mGerrit: DE, IT translations

Add Italian and German translations sourced from Google Translate
 Toolkit.

Change-Id: I7e49e45c981127203ea992530ec6ef1f5ecef726
Deserialise JSONCommit with Gson

Rename changedFile object to FileInfo to match Gerrit documentation
Added CommitInfo to store patchset-specific details
Added FileInfoList to help with deserialisation
Added ReviewerList to help with deserialisation
Changed value in Reviewer to integer (it is not a string)

PS2: Fix reviewers getters and score parsing

Change-Id: Ibbf8267c6612047cba51aec29a5346d6210d94fe
Show file status in change details file list

Colour file paths by status (green: added, red: removed)
Mark files as binary if so
Don't show lines inserted/deleted if there weren't any lines
 inserted/deleted
Disable the onClick listener for binary files - there will be no
 diff available regardless.
Use an enum to store the file status in FileInfo
GerritControllerActivity: Added some null checking
PatchSetChangesCard: Removed some dead code
JSONCommit: Convert reviewers getters to List
ReviewerList: Add method to get all labels reviewers are associated with

Change-Id: I9308fdcb58d588ba340618b5280b573f98301d44
mGerrit: Add missing files; fix build

Change-Id: I05a838b1629009d66de3d1b71b49093c222f5d4e
Bump version to v2.05.001 for release

Change-Id: Ic3e63939c15346a2696df1626b277b143cecc0a6
Fix change details not loading

The wrong processor was added previously (I renamed CommitProcessor to
 ChangeListProcessor and modified GerritService accordingly). Somehow,
 these were left off an earlier commit.

Change-Id: Ib5662b6d58c0a5e21da2da5759469bff799728b2
Add more detection of more ROMs

Change-Id: I761773b256f4cc5f25601d7443d57cb962bb8e53
Bump version to v2.05.003 for release

Change-Id: Iee258fe2f4b2fcc5b29ca6c8c5e0cc37bf228daa
Update Italian translations; Style refactoring

Change-Id: Id35c46c26ff447c907784afcae1e7b2c84f62e22
Update translations

Update DE, FR translations from those on crowdin
Cleanup unused strings

Change-Id: Icdb03283486eefc07db7da0d722b0a33ff953bd0
Add link to help documentation in help dialog

Change-Id: If775a66f86dfab017a05c8f084ab4c158db3c565
Fix some lint warnings

Change-Id: I57a24f602a1ae55efc2ed03f1785c50522339de9
Fix some possible NPEs in commit deserialiser

Change-Id: I1d1538b233ceef21ca056217a74049e6283f7dfc
Use proper context when showing error dialog

Use activity context not application context as we need to draw a dialog

Change-Id: Ib57cbe2e7b818cf97dd9b3eb71d58906d0fc8afc
Card selectors; new activity titles

Display the branch in the change details on the first card and the
 topic (if provided)
Changed preferences title
Set title of the change details screen to the commit number
 (phone layout only)
Set the background color on the cards layout not the template cards
Change the card's background when pressed
Store whether we are running in tablet mode in the preferences
Disable the moar info button and always use the card listener
Add draft status (not currently used)

PS3: Use fixed background for non-clickable cards
Finish removing moarInfo icon from commit cards
Add custom selected attribute for commit cards (mainly for
 tablet layouts, not used yet)

PS4: Change drawable state of selected changes
Save whether a change is selected in the change list card and change its
 state when it is un/selected
Support telling the adapter that a change has been selected
Remove some unused methods from CardsFragment and CommitCard

PS5: Remove the alternate commit card layout

PS6: Highlight the change whose change details are initially displayed
 if a change has not already been previously selected.

PS7: Don't try and load change details if no internet connection
Add high-contrast warning icon
Fixes for loading changes on phones

PS8: Restore pretty printed dates in commit cards
Fix branch text display on properties card
Use a SpannableString to set the title next to the user image
Simplify the properties card layout
Move date conversion code into Tools helper class
GravitarHelper: Switch to non-depricated method call

Change-Id: I7f8ae6b6dfeac2b390f946d2d84532ab45d92400