Loading src/com/android/contacts/quickcontact/QuickContactActivity.java +8 −4 Original line number Diff line number Diff line Loading @@ -382,11 +382,15 @@ public class QuickContactActivity extends ContactsActivity { .appendPath(String.valueOf(dataId)) .appendQueryParameter(DataUsageFeedback.USAGE_TYPE, usageType) .build(); try { final boolean successful = getContentResolver().update( dataUsageUri, new ContentValues(), null, null) > 0; if (!successful) { Log.w(TAG, "DataUsageFeedback increment failed"); } } catch (SecurityException ex) { Log.w(TAG, "DataUsageFeedback increment failed", ex); } } else { Log.w(TAG, "Invalid Data ID"); } Loading Loading
src/com/android/contacts/quickcontact/QuickContactActivity.java +8 −4 Original line number Diff line number Diff line Loading @@ -382,11 +382,15 @@ public class QuickContactActivity extends ContactsActivity { .appendPath(String.valueOf(dataId)) .appendQueryParameter(DataUsageFeedback.USAGE_TYPE, usageType) .build(); try { final boolean successful = getContentResolver().update( dataUsageUri, new ContentValues(), null, null) > 0; if (!successful) { Log.w(TAG, "DataUsageFeedback increment failed"); } } catch (SecurityException ex) { Log.w(TAG, "DataUsageFeedback increment failed", ex); } } else { Log.w(TAG, "Invalid Data ID"); } Loading