diff options
author | Mohammad Samiul Islam <samiul@google.com> | 2020-05-13 15:50:35 +0100 |
---|---|---|
committer | Mohammad Samiul Islam <samiul@google.com> | 2020-07-02 10:48:24 +0100 |
commit | 534642ef58747bb72e8555546942638bcd84dd6d (patch) | |
tree | ef3d8e90e6086d10fa91430682a4a189f0ab64e9 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 190b0809c9d2e2775cc2eb5163caa022c0a3ad4b (diff) |
Create a channel using which PMS can return result of verification
In the existing flow, once session is verified, it gets installed
immediately. In future, once a session is verified, we want to perform
some actions before we move onto installation phase.
Note that we only return the verification result, but do not stop the
installation or process the result in any way yet.
We still don't have any easy way to resume installation from where
verification ends. This will be created soon.
Note that, in order to create this channel, I had to temporarily add two
observers to InstallParams. This is because it now needs to return
verification complete notification AND result of installation. In
future, we will create a duplicate of InstallParams called
VerificationParams to handle verification exclusively and this temorary
observer will be deleted.
Bug: 159331446
Test: atest StagedInstallTest
Test: atest GtsSecurityHostTestCases
Change-Id: I8aa4a72ebbf4fa1616d0be70343f9c4f9cb98f87
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions