mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +08:00
Removing logging messages
This commit is contained in:
parent
6071b9c75a
commit
9671083bed
@ -723,7 +723,7 @@ Accelerometer.prototype.watchAcceleration = function(successCallback, errorCallb
|
||||
Accelerometer.prototype.clearWatch = function(id) {
|
||||
|
||||
// Stop javascript timer & remove from timer list
|
||||
if (id && navigator.accelerometer.timers[id]) {
|
||||
if (id && navigator.accelerometer.timers[id] != undefined) {
|
||||
clearInterval(navigator.accelerometer.timers[id]);
|
||||
delete navigator.accelerometer.timers[id];
|
||||
}
|
||||
|
@ -369,12 +369,9 @@ public class ContactAccessorSdk3_4 extends ContactAccessor {
|
||||
|
||||
@Override
|
||||
public boolean remove(String id) {
|
||||
ContentResolver cr = mApp.getContentResolver();
|
||||
|
||||
int result = cr.delete(People.CONTENT_URI, "people._id = ?", new String[] {id});
|
||||
Log.d(LOG_TAG, "Content URI = " + People.CONTENT_URI);
|
||||
Log.d(LOG_TAG, "Where = " + "people._id = ?");
|
||||
Log.d(LOG_TAG, "Number of rows deleted = " + result);
|
||||
int result = mApp.getContentResolver().delete(People.CONTENT_URI,
|
||||
"people._id = ?",
|
||||
new String[] {id});
|
||||
|
||||
return (result > 0) ? true : false;
|
||||
}
|
||||
|
@ -558,14 +558,9 @@ public class ContactAccessorSdk5 extends ContactAccessor {
|
||||
|
||||
@Override
|
||||
public boolean remove(String id) {
|
||||
ContentResolver cr = mApp.getContentResolver();
|
||||
int result = cr.delete(ContactsContract.Data.CONTENT_URI,
|
||||
int result = mApp.getContentResolver().delete(ContactsContract.Data.CONTENT_URI,
|
||||
ContactsContract.Data.CONTACT_ID + " = ?",
|
||||
new String[] {id});
|
||||
Log.d(LOG_TAG, "Content URI = " + ContactsContract.Data.CONTENT_URI);
|
||||
Log.d(LOG_TAG, "Where = " + ContactsContract.Data.CONTACT_ID + " = ?");
|
||||
Log.d(LOG_TAG, "Number of rows deleted = " + result);
|
||||
|
||||
new String[] {id});
|
||||
return (result > 0) ? true : false;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user