Begin 3.2.0 development

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Update to Google Play Billing Library, revision 5

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Replace GoogleAdMobAdsSdk with Google Mobile Ads. Closes #92

Requires update to Google Play Services 4.0.30 (889083-30).

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Force formatting and code style in project settings

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Update to r19 of the Android Support Library. Needed for #99

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Replace ViewPagerIndicator with PagerTabStrip. Closes #99

By using the Android Support Library's PagerTabStrip, the
ViewPagerIndicator can be removed, resulting in one less
dependency.

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Simplify to one main layout

Having three main layouts where the only difference was the ad
size didn't make sense. Change to have one main layout and get
the ad size from size specific values files instead. This will
make layout changes easier in the future.

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Add disk caching of race logos for widget. Closes #81 and #98

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
More robust handling of user account. Closes #94

Now if a user deletes the Google account he/she used to sign into
Pick The Winner, the app properly recognizes that scenario and
removes the account from the app.

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Support and target Android 4.3 (API 18). Closes #84

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Add a "Add Account" button on the account selection activity

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Target and support Android 4.4 (API 19). Closes #101

KitKat changed the behavior of the alarms, so force KitKat to
use exact alarms.

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Clear notification if activity opened differently. Closes #93

Previously, Question and Race notifications were only cleared if
clicked on. However, user could open activity without using the
notification by touching the icon or widget. In addition, the
notifications weren't cleared when user opens app using the
Active Display feature on Moto X. This patch covers these
additional use cases.

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Automatically scroll the schedule to the current race. Closes #95

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Part 2 of #93. Need to also clear the standings notification.

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Add check for GCM message type and only sync for sync message.

Phase 1 of #80.

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Move dismiss calls for dialogs to onDestroy()

It was possible for a user to bypass the EULA by opening a recent
app, then switching back. Delaying the dismissal of the dialogs
to onDestroy() fixes the issue.

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Switch to use GCM library inside Google Play Services. Closes #91

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Replace semaphore with Object wait/notify

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Send user authentication cookie with GCM registration. Phase 2 of #80

Need to resend the GCM registration immediately have user signs in.

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>