diff options
author | Daisuke Miyakawa <dmiyakawa@google.com> | 2011-08-23 09:19:49 -0700 |
---|---|---|
committer | Daisuke Miyakawa <dmiyakawa@google.com> | 2011-08-23 09:37:10 -0700 |
commit | 744a03849305a7936741b92dbdc1cc7a7a67802a (patch) | |
tree | 18a51a783af62597603089bcc0f624d967c20447 /common | |
parent | 358d0e1b3d2830032cabf4e678c7a6b264ae4f77 (diff) | |
download | android_frameworks_ex-744a03849305a7936741b92dbdc1cc7a7a67802a.tar.gz android_frameworks_ex-744a03849305a7936741b92dbdc1cc7a7a67802a.tar.bz2 android_frameworks_ex-744a03849305a7936741b92dbdc1cc7a7a67802a.zip |
Use ICS release name instead of version code
Bug: 5148810
Change-Id: I1b4d5d6280fb94e8cd514e3379aecee888eba479
Diffstat (limited to 'common')
-rw-r--r-- | common/java/com/android/common/contacts/DataUsageStatUpdater.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/java/com/android/common/contacts/DataUsageStatUpdater.java b/common/java/com/android/common/contacts/DataUsageStatUpdater.java index de1cddd..6ff3807 100644 --- a/common/java/com/android/common/contacts/DataUsageStatUpdater.java +++ b/common/java/com/android/common/contacts/DataUsageStatUpdater.java @@ -203,8 +203,9 @@ public class DataUsageStatUpdater { // From ICS we can use per-contact-method structure. We'll check if the device supports it // and call the API. // - // STOPSHIP: Use 14 or later when we're sure ICS has correct SDK version - if (Build.VERSION.SDK_INT >= 13) { + // STOPSHIP: Use Build.VERSION.SDK_INT when we're sure ICS has correct SDK version + // (bug 5047678) + if (TextUtils.equals("IceCreamSandwich", Build.VERSION.RELEASE)) { if (dataIds.isEmpty()) { if (Log.isLoggable(TAG, Log.DEBUG)) { Log.d(TAG, "Given list for data IDs is null. Ignoring."); |