• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/hardware/interfaces


Commit MetaInfo

Revisãoab761288e2cbfd7f6425b212d73b814804aac189 (tree)
Hora2019-01-25 13:08:10
AutorTreehugger Robot <treehugger-gerrit@goog...>
CommiterGerrit Code Review

Mensagem de Log

Merge "Assign a new future before calling update()"

Mudança Sumário

Diff

--- a/wifi/keystore/1.0/default/keystore.cpp
+++ b/wifi/keystore/1.0/default/keystore.cpp
@@ -213,7 +213,8 @@ Return<void> Keystore::sign(const hidl_string& keyId, const hidl_vec<uint8_t>& d
213213 const uint8_t* in = dataToSign.data();
214214 size_t len = dataToSign.size();
215215 do {
216- future = {};
216+ promise = new OperationResultPromise();
217+ future = promise->get_future();
217218 binder_result = service->update(promise, handle, KeymasterArguments(params),
218219 std::vector<uint8_t>(in, in + len), &error_code);
219220 if (!binder_result.isOk()) {