• 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ão0e8ba32c924c6286a2c60b6095a075721c23ec5f (tree)
Hora2019-01-25 13:25:26
AutorBranden Archer <brarcher@goog...>
Commiterandroid-build-merger

Mensagem de Log

Merge "Assign a new future before calling update()" am: ab761288e2 am: 90f296c067
am: eeb86d1670

Change-Id: I70f012d6f9316ca3c3261fe2175edc69d52366f6

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()) {