Skip to content
This repository was archived by the owner on Oct 20, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ synchronized void resolvePromise(String key, Object value) {
promise.resolve(value);
mPromiseCache.remove(key);
} else {
Log.w(LOG_TAG, String.format("Tried to resolve promise: %d - but does not exist in cache", key));
Log.w(LOG_TAG, String.format("Tried to resolve promise: %s - but does not exist in cache", key));
}
}

Expand All @@ -465,7 +465,7 @@ synchronized void rejectPromise(String key, String reason) {
promise.reject("EUNSPECIFIED", reason);
mPromiseCache.remove(key);
} else {
Log.w(LOG_TAG, String.format("Tried to reject promise: %d - but does not exist in cache", key));
Log.w(LOG_TAG, String.format("Tried to reject promise: %s - but does not exist in cache", key));
}
}

Expand All @@ -474,7 +474,7 @@ synchronized Boolean putPromise(String key, Promise promise) {
mPromiseCache.put(key, promise);
return true;
} else {
Log.w(LOG_TAG, String.format("Tried to put promise: %d - already exists in cache", key));
Log.w(LOG_TAG, String.format("Tried to put promise: %s - already exists in cache", key));
}
return false;
}
Expand Down