Update to support long version codes.
Bug: 64459786
Test: manual
Change-Id: Iac4039fb73868b608f7c7530dc84b4bd8ccb924e
diff --git a/src/com/android/contacts/util/HelpUtils.java b/src/com/android/contacts/util/HelpUtils.java
index 814e3ab..69955e2 100644
--- a/src/com/android/contacts/util/HelpUtils.java
+++ b/src/com/android/contacts/util/HelpUtils.java
@@ -122,7 +122,7 @@
// cache the version code
PackageInfo info = context.getPackageManager().getPackageInfo(
context.getPackageName(), 0);
- sCachedVersionCode = Integer.toString(info.versionCode);
+ sCachedVersionCode = Long.toString(info.getLongVersionCode());
// append the version code to the uri
builder.appendQueryParameter(PARAM_VERSION, sCachedVersionCode);